1 | <?php |
||
12 | class StylesLoader |
||
13 | { |
||
14 | /** |
||
15 | * @var string |
||
16 | */ |
||
17 | protected $class; |
||
18 | |||
19 | /** |
||
20 | * Constructor |
||
21 | * |
||
22 | * @param string $class The class for created objects |
||
23 | */ |
||
24 | public function __construct($class) |
||
28 | |||
29 | /** |
||
30 | * Creates a Styles from the archive |
||
31 | * |
||
32 | * @param string $path |
||
33 | * @param Archive $archive The Archive from which the path was extracted |
||
34 | * |
||
35 | * @return Styles |
||
36 | */ |
||
37 | public function open($path, Archive $archive) |
||
41 | } |
||
42 |