| 1 | <?php  | 
            ||
| 15 | trait ObjectAttributeTrait  | 
            ||
| 16 | { | 
            ||
| 17 | /**  | 
            ||
| 18 | * @var string|null  | 
            ||
| 19 | */  | 
            ||
| 20 | protected $object;  | 
            ||
| 21 | |||
| 22 | /**  | 
            ||
| 23 | * @return string  | 
            ||
| 24 | * @throws \Exception  | 
            ||
| 25 | */  | 
            ||
| 26 | public function getObject(): string  | 
            ||
| 33 | |||
| 34 | /**  | 
            ||
| 35 | * @return string|null  | 
            ||
| 36 | */  | 
            ||
| 37 | public function findObject()  | 
            ||
| 41 | |||
| 42 | /**  | 
            ||
| 43 | * @param string|null $object  | 
            ||
| 44 | * @return $this  | 
            ||
| 45 | */  | 
            ||
| 46 | public function setObject(string $object = null)  | 
            ||
| 51 | }  | 
            ||
| 52 |