Josegonzalez\Upload\File\Writer\WriterInterface::__construct PHP Method

__construct() public method

Constructor.
public __construct ( Table $table, Cake\ORM\Entity $entity, array $data, string $field, array $settings )
$table Cake\ORM\Table the instance managing the entity
$entity Cake\ORM\Entity the entity to construct a path for.
$data array the data being submitted for a save
$field string the field for which data will be saved
$settings array the settings for the current field
    public function __construct(Table $table, Entity $entity, $data, $field, $settings);