/** * @override * Constructs a new StatementController. * @param StatementRepository $statement */ public function __construct(Statement $statement) { parent::__construct(); $this->statements = $statement; $this->index_controller = new StatementIndexController($statement); $this->store_controller = new StatementStoreController($statement); }
/** * Construct a new DocumentController. * @param DocumentRepository $document */ public function __construct(Document $document) { parent::__construct(); $this->document = $document; }
/** * Construct * * @param Lrs $lrs * @param Client $client */ public function __construct(Client $client_repo) { parent::__construct(); $this->client_repo = $client_repo; }