1 | <?php |
||
18 | class ArticleCommand extends Command |
||
19 | { |
||
20 | /** |
||
21 | * @var string |
||
22 | */ |
||
23 | private $article; |
||
24 | |||
25 | /** |
||
26 | * Constructor. |
||
27 | * |
||
28 | * @param string $article The number or msg-id of the article. |
||
29 | */ |
||
30 | 10 | public function __construct($article) |
|
36 | |||
37 | /** |
||
38 | * {@inheritdoc} |
||
39 | */ |
||
40 | 1 | public function execute() |
|
44 | |||
45 | /** |
||
46 | * {@inheritdoc} |
||
47 | */ |
||
48 | 2 | public function getExpectedResponseCodes() |
|
57 | |||
58 | 1 | public function onArticleFollows(MultiLineResponse $response) |
|
63 | |||
64 | 1 | public function onNoNewsGroupCurrentSelected(Response $response) |
|
68 | |||
69 | 1 | public function onNoSuchArticleNumber(Response $response) |
|
73 | |||
74 | 1 | public function onNoSuchArticleId(Response $response) |
|
78 | } |
||
79 |