UpdateContactDtoFactory
Table of Contents
Methods
- __construct() : mixed
- Constructor
- make() : UpdateContactDTO|null
- Make update item DTO
Methods
__construct()
Constructor
public
__construct([bool $blacklisted = false ][, DateTime|null $date = null ]) : mixed
Parameters
- $blacklisted : bool = false
-
Is this addition to blacklist?
- $date : DateTime|null = null
-
Date of operation, if empty - current date
make()
Make update item DTO
public
make(string $code, string|null $name) : UpdateContactDTO|null
Parameters
- $code : string
-
Code
- $name : string|null
-
Name