Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
1 | <?php |
2 | |
3 | /** |
4 | * Karla ImageMagick wrapper library |
5 | * |
6 | * PHP Version 8.0< |
7 | * |
8 | * @category Utility |
9 | * @author Johannes Skov Frandsen <jsf@greenoak.dk> |
10 | * @license http://www.opensource.org/licenses/mit-license.php MIT |
11 | * @link https://github.com/localgod/karla Karla |
12 | * @since 2013-05-26 |
13 | */ |
14 | |
15 | declare(strict_types=1); |
16 | |
17 | namespace Karla; |
18 | |
19 | use Karla\Query; |
20 | |
21 | /** |
22 | * Interface for actions |
23 | * |
24 | * @category Utility |
25 | * @author Johannes Skov Frandsen <jsf@greenoak.dk> |
26 | * @license http://www.opensource.org/licenses/mit-license.php MIT |
27 | * @link https://github.com/localgod/karla Karla |
28 | */ |
29 | interface Action |
30 | { |
31 | /** |
32 | * Perform an action |
33 | * |
34 | * @param Query $query |
35 | * The query to add the action to |
36 | * @return Query |
37 | */ |
38 | public function perform(Query $query): Query; |
39 | } |