Skip to content

Commit 5c237bf

Browse files
RiKapdg
authored andcommitted
Remove Nette\Object from Readme (#30)
1 parent 45fe6ce commit 5c237bf

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

readme.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ We will create a custom authenticator that will check validity of login credenti
121121
```php
122122
use Nette\Security as NS;
123123

124-
class MyAuthenticator extends Nette\Object implements NS\IAuthenticator
124+
class MyAuthenticator implements NS\IAuthenticator
125125
{
126126
public $database;
127127

@@ -225,8 +225,7 @@ Authorizator decides, whether the user has permission to take some action. It's
225225
An implementation skeleton looks like this:
226226

227227
```php
228-
class MyAuthorizator extends Nette\Object
229-
implements Nette\Security\IAuthorizator
228+
class MyAuthorizator implements Nette\Security\IAuthorizator
230229
{
231230

232231
function isAllowed($role, $resource, $privilege)

0 commit comments

Comments
 (0)