| 1 | <?php |
||
| 23 | class ArticleCommand extends Command |
||
| 24 | { |
||
| 25 | /** |
||
| 26 | * @var string |
||
| 27 | */ |
||
| 28 | private $article; |
||
| 29 | |||
| 30 | /** |
||
| 31 | * Constructor. |
||
| 32 | * |
||
| 33 | * @param string $article the number or msg-id of the article |
||
| 34 | */ |
||
| 35 | 7 | public function __construct($article) |
|
| 41 | |||
| 42 | /** |
||
| 43 | * {@inheritdoc} |
||
| 44 | */ |
||
| 45 | 1 | public function __invoke() |
|
| 49 | |||
| 50 | /** |
||
| 51 | * @return string |
||
| 52 | */ |
||
| 53 | 1 | public function onArticleFollows(MultiLineResponse $response) |
|
| 57 | |||
| 58 | 1 | public function onNoNewsGroupCurrentSelected(Response $response) |
|
| 62 | |||
| 63 | 1 | public function onNoSuchArticleNumber(Response $response) |
|
| 67 | |||
| 68 | 1 | public function onNoSuchArticleId(Response $response) |
|
| 72 | } |
||
| 73 |