Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / vendor / psy / psysh / src / ExecutionLoop / AbstractListener.php
1 <?php
2
3 /*
4  * This file is part of Psy Shell.
5  *
6  * (c) 2012-2018 Justin Hileman
7  *
8  * For the full copyright and license information, please view the LICENSE
9  * file that was distributed with this source code.
10  */
11
12 namespace Psy\ExecutionLoop;
13
14 use Psy\Shell;
15
16 /**
17  * Abstract Execution Loop Listener class.
18  */
19 abstract class AbstractListener implements Listener
20 {
21     /**
22      * {@inheritdoc}
23      */
24     public function beforeRun(Shell $shell)
25     {
26     }
27
28     /**
29      * {@inheritdoc}
30      */
31     public function beforeLoop(Shell $shell)
32     {
33     }
34
35     /**
36      * {@inheritdoc}
37      */
38     public function onInput(Shell $shell, $input)
39     {
40     }
41
42     /**
43      * {@inheritdoc}
44      */
45     public function onExecute(Shell $shell, $code)
46     {
47     }
48
49     /**
50      * {@inheritdoc}
51      */
52     public function afterLoop(Shell $shell)
53     {
54     }
55
56     /**
57      * {@inheritdoc}
58      */
59     public function afterRun(Shell $shell)
60     {
61     }
62 }