| 1 | <?php |
||
| 19 | class CompanyContactsMutator extends BaseObject implements CompanyContactsMutatorInterface |
||
| 20 | { |
||
| 21 | use traits\TransformerCollectionTrait, |
||
| 22 | traits\ConnectionTrait, |
||
| 23 | traits\CacheTrait; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @var string |
||
| 27 | */ |
||
| 28 | public $companyId; |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @var string |
||
| 32 | */ |
||
| 33 | public $contactId; |
||
| 34 | |||
| 35 | /** |
||
| 36 | * @return string |
||
| 37 | */ |
||
| 38 | public function getCompanyId(): string |
||
| 42 | |||
| 43 | /** |
||
| 44 | * @return string |
||
| 45 | */ |
||
| 46 | public function getContactId(): string |
||
| 50 | |||
| 51 | /** |
||
| 52 | * @param array $config |
||
| 53 | * @param null $source |
||
| 54 | * @return mixed |
||
| 55 | * @throws \yii\base\InvalidConfigException |
||
| 56 | */ |
||
| 57 | public function add(array $config = [], $source = null) |
||
| 62 | |||
| 63 | /** |
||
| 64 | * @param array $config |
||
| 65 | * @param null $source |
||
| 66 | * @return mixed |
||
| 67 | * @throws \yii\base\InvalidConfigException |
||
| 68 | */ |
||
| 69 | public function remove(array $config = [], $source = null) |
||
| 74 | |||
| 75 | /** |
||
| 76 | * @inheritdoc |
||
| 77 | */ |
||
| 78 | protected function prepare(array $criteria = []) |
||
| 85 | } |
||
| 86 |