/** * [IoC] Creates the Element Service * * @param DateFactory $DateFactory The DateFactory * @param DAOInterface $ElementDAO The ElementDAO * @param ValidatorInterface $ElementValidator The ElementValidator */ public function __construct(DateFactory $DateFactory, DAOInterface $ElementDAO, ValidatorInterface $ElementValidator, AbstractSystemService $AspectService) { parent::__construct($DateFactory, $ElementDAO, $ElementValidator); $this->AspectService = $AspectService; // $this->AspectService->findAll(new DTO()); // $this->findAll(new DTO()); }
/** * Builds the service * * @param DateFactory $DateFactory DateFactory * @param DAOInterface $AspectDAO AspectDAO * @param ValidatorInterface $AspectValidator AspectValidator */ public function __construct(DateFactory $DateFactory, DAOInterface $AspectDAO, ValidatorInterface $AspectValidator) { parent::__construct($DateFactory, $AspectDAO, $AspectValidator); }
/** * [IoC] Creates the PluginService * * @param DateFactory $DateFactory DateFactory * @param DAOInterface $PluginDAO PluginDAO * @param ValidatorInterface $PluginValidator PluginValidator */ public function __construct(DateFactory $DateFactory, DAOInterface $PluginDAO, ValidatorInterface $PluginValidator) { parent::__construct($DateFactory, $PluginDAO, $PluginValidator); }