Ptondereau\PackMe\Package::__construct PHP Method

__construct() public method

Package constructor.
public __construct ( null | string $name = null, null | string $author = null, null | string $destination = null, Validator $validator = null )
$name null | string
$author null | string
$destination null | string
$validator Ptondereau\PackMe\Validators\Validator
    public function __construct($name = null, $author = null, $destination = null, Validator $validator = null)
    {
        $this->validator = $validator ?: new Validator();
        $this->name = $name;
        $this->author = $author;
        $this->destination = $destination;
    }