These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more
1 | <?php |
||
2 | |||
3 | namespace AdvancedLearning\Oauth2Server\Models; |
||
4 | |||
5 | use SilverStripe\ORM\DataObject; |
||
6 | |||
7 | /** |
||
8 | * Class ScopeEntity |
||
9 | * |
||
10 | * @package AdvancedLearning\Oauth2Server\Models |
||
11 | * |
||
12 | * @property string $Name |
||
13 | * @property string $Description |
||
14 | */ |
||
15 | class Scope extends DataObject |
||
16 | { |
||
17 | private static $table_name = 'OauthScope'; |
||
0 ignored issues
–
show
Comprehensibility
introduced
by
Loading history...
|
|||
18 | |||
19 | private static $db = [ |
||
0 ignored issues
–
show
|
|||
20 | 'Name' => 'Varchar(100)', |
||
21 | 'Description' => 'Varchar(255)' |
||
22 | ]; |
||
23 | |||
24 | private static $summary_fields = [ |
||
0 ignored issues
–
show
|
|||
25 | 'Name', |
||
26 | 'Description' |
||
27 | ]; |
||
28 | } |
||
29 |