| 1 | <?php |
||
| 28 | class Domain extends SortableAssociation |
||
| 29 | { |
||
| 30 | use SiteRules; |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @inheritdoc |
||
| 34 | */ |
||
| 35 | const TABLE_ALIAS = 'domains'; |
||
| 36 | |||
| 37 | /** |
||
| 38 | * @inheritdoc |
||
| 39 | */ |
||
| 40 | const TARGET_ATTRIBUTE = 'domain'; |
||
| 41 | |||
| 42 | /** |
||
| 43 | * @inheritdoc |
||
| 44 | */ |
||
| 45 | const SOURCE_ATTRIBUTE = 'elementId'; |
||
| 46 | |||
| 47 | /** |
||
| 48 | * @inheritdoc |
||
| 49 | */ |
||
| 50 | protected function associationService(): SortableAssociations |
||
| 54 | |||
| 55 | /** |
||
| 56 | * {@inheritdoc} |
||
| 57 | * @return DomainsQuery |
||
| 58 | */ |
||
| 59 | public static function find() |
||
| 63 | |||
| 64 | /** |
||
| 65 | * @return array |
||
| 66 | */ |
||
| 67 | public function rules(): array |
||
| 109 | } |
||
| 110 |