| 1 | <?php |
||
| 22 | class TwitterOAuth07 implements SocialNetworkPublisher |
||
| 23 | { |
||
| 24 | /** |
||
| 25 | * @var TwitterOAuth |
||
| 26 | */ |
||
| 27 | private $twitter; |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @param TwitterOAuth $twitter Ready to use instance of TwitterOAuth |
||
| 31 | */ |
||
| 32 | public function __construct(TwitterOAuth $twitter) |
||
| 36 | |||
| 37 | /** |
||
| 38 | * {@inheritdoc} |
||
| 39 | */ |
||
| 40 | public function publish( |
||
| 56 | |||
| 57 | /** |
||
| 58 | * @param string $message |
||
| 59 | * @param string $link |
||
| 60 | * @return string |
||
| 61 | */ |
||
| 62 | protected function prepareStatus( |
||
| 77 | } |
||
| 78 |