Skip to content

Commit 9cbb6ac

Browse files
authored
Update README.md
1 parent a22ae0d commit 9cbb6ac

File tree

1 file changed

+6
-11
lines changed

1 file changed

+6
-11
lines changed

README.md

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -46,22 +46,17 @@ parameters:
4646
```
4747
class 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
```

0 commit comments

Comments
 (0)