1 | <?php |
||
21 | class User extends \yii\web\User |
||
22 | { |
||
23 | private $_access = []; |
||
|
|||
24 | |||
25 | /** |
||
26 | * Get the GUID of identity. |
||
27 | * If no user logged-in, null will be given. |
||
28 | * @return null|string |
||
29 | */ |
||
30 | public function getGuid() |
||
36 | |||
37 | /** |
||
38 | * @param string $permissionName |
||
39 | * @param array $params |
||
40 | * @param bool $allowCaching |
||
41 | * @return bool|mixed |
||
42 | */ |
||
43 | public function can($permissionName, $params = [], $allowCaching = true) |
||
58 | } |
||
59 |