public __construct ( Nextras\Dbal\Connection $connection, Nextras\Orm\Mapper\IMapper $targetMapper, |
||
$connection | Nextras\Dbal\Connection | |
$targetMapper | Nextras\Orm\Mapper\IMapper | |
$metadata |
public function __construct(Connection $connection, IMapper $targetMapper, PropertyMetadata $metadata)
{
$this->connection = $connection;
$this->targetRepository = $targetMapper->getRepository();
$this->metadata = $metadata;
}