| 1 | <?php  | 
            ||
| 22 | class Tweet implements ComponentInterface  | 
            ||
| 23 | { | 
            ||
| 24 | public const ROLE = 'tweet';  | 
            ||
| 25 | |||
| 26 | /** @var string */  | 
            ||
| 27 | private $url;  | 
            ||
| 28 | |||
| 29 | /** @var string */  | 
            ||
| 30 | private $role = self::ROLE;  | 
            ||
| 31 | |||
| 32 | public function __construct(string $url)  | 
            ||
| 36 | |||
| 37 | public function getUrl(): string  | 
            ||
| 41 | |||
| 42 | public function getRole(): string  | 
            ||
| 46 | }  | 
            ||
| 47 |