1 | <?php |
||
10 | class HasContent extends Model |
||
11 | { |
||
12 | use HasBlocks, HasImages, HasLinks; |
||
13 | |||
14 | /** |
||
15 | * Get a model from a relationship by model name. |
||
16 | * |
||
17 | * @param string $relationship Name of relationship. |
||
18 | * @param string $name Name of model to get. |
||
19 | * |
||
20 | * @return \Illuminate\Database\Eloquent\Model|null |
||
21 | */ |
||
22 | protected function getFromRelationshipByName($relationship, $name) |
||
32 | } |
||
33 |