1: <?php
2:
3: /**
4: * Copyright 2015, Eduardo Trujillo
5: *
6: * For the full copyright and license information, please view the LICENSE
7: * file that was distributed with this source code.
8: *
9: * This file is part of the Nucleus package
10: */
11:
12: namespace Chromabits\Nucleus\Transformation\Interfaces;
13:
14: /**
15: * Interface TransformInterface.
16: *
17: * A class capable of transforming an array in some way.
18: *
19: * @author Eduardo Trujillo <ed@chromabits.com>
20: * @package Chromabits\Nucleus\Support\Interfaces
21: */
22: interface TransformInterface
23: {
24: /**
25: * Execute the transform.
26: *
27: * @param array $input
28: *
29: * @return array
30: */
31: public function run(array $input);
32: }
33: