File tree Expand file tree Collapse file tree 1 file changed +6
-11
lines changed Expand file tree Collapse file tree 1 file changed +6
-11
lines changed Original file line number Diff line number Diff line change @@ -46,22 +46,17 @@ parameters:
4646```
4747class ExamplePresenter implements IPresenter
4848{
49- /** @var \Nepttune\Component\IRobotsFactory */
50- protected $iRobotsFactory ;
49+ /** @var \Nepttune\Component\ISecurityFactory */
50+ protected $iSecurityFactory ;
5151
52- public function __construct(\Nepttune\Component\IRobotsFactory $IRobotsFactory )
52+ public function __construct(\Nepttune\Component\ISecurityFactory $ISecurityFactory )
5353 {
54- $this->iRobotsFactory = $IRobotsFactory;
55- }
56-
57- public function actionRobots()
58- {
59- $this->getHttpResponse()->setContentType('text/plain');
54+ $this->iSecurityFactory = $ISecurityFactory;
6055 }
6156
62- protected function createComponentRobots ()
57+ protected function createComponentSecurity ()
6358 {
64- return $this->iRobotsFactory ->create();
59+ return $this->iSecurityFactory ->create();
6560 }
6661}
6762```
You can’t perform that action at this time.
0 commit comments