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:
46
46
```
47
47
class ExamplePresenter implements IPresenter
48
48
{
49
- /** @var \Nepttune\Component\IRobotsFactory */
50
- protected $iRobotsFactory ;
49
+ /** @var \Nepttune\Component\ISecurityFactory */
50
+ protected $iSecurityFactory ;
51
51
52
- public function __construct(\Nepttune\Component\IRobotsFactory $IRobotsFactory )
52
+ public function __construct(\Nepttune\Component\ISecurityFactory $ISecurityFactory )
53
53
{
54
- $this->iRobotsFactory = $IRobotsFactory;
55
- }
56
-
57
- public function actionRobots()
58
- {
59
- $this->getHttpResponse()->setContentType('text/plain');
54
+ $this->iSecurityFactory = $ISecurityFactory;
60
55
}
61
56
62
- protected function createComponentRobots ()
57
+ protected function createComponentSecurity ()
63
58
{
64
- return $this->iRobotsFactory ->create();
59
+ return $this->iSecurityFactory ->create();
65
60
}
66
61
}
67
62
```
You can’t perform that action at this time.
0 commit comments