1: <?php
2: /**
3: * Horde_Pear_Package_Type:: defines a helper that identifies a package type.
4: *
5: * PHP version 5
6: *
7: * @category Horde
8: * @package Pear
9: * @author Gunnar Wrobel <wrobel@pardus.de>
10: * @license http://www.horde.org/licenses/lgpl21 LGPL 2.1
11: * @link http://pear.horde.org/index.php?package=Pear
12: */
13:
14: /**
15: * Horde_Pear_Package_Type:: defines a helper that identifies a package type.
16: *
17: * Copyright 2011-2012 Horde LLC (http://www.horde.org/)
18: *
19: * See the enclosed file COPYING for license information (LGPL). If you
20: * did not receive this file, see http://www.horde.org/licenses/lgpl21.
21: *
22: * @category Horde
23: * @package Pear
24: * @author Gunnar Wrobel <wrobel@pardus.de>
25: * @license http://www.horde.org/licenses/lgpl21 LGPL 2.1
26: * @link http://pear.horde.org/index.php?package=Pear
27: */
28: interface Horde_Pear_Package_Type
29: {
30: /**
31: * Return the path to the root of the package.
32: *
33: * @return string The path to the root.
34: */
35: public function getRootPath();
36:
37: /**
38: * Return the path to the package.xml file for the package.
39: *
40: * @return string The path to the package.xml file.
41: */
42: public function getPackageXmlPath();
43:
44: /**
45: * Return the ignore handler for this package.
46: *
47: * @return Horde_Pear_Package_Contents_Ignore The ignore handler.
48: */
49: public function getIgnore();
50:
51: /**
52: * Return the include handler for this package.
53: *
54: * @return Horde_Pear_Package_Contents_Include The include handler.
55: */
56: public function getInclude();
57:
58: /**
59: * Return the role handler for this package.
60: *
61: * @return Horde_Pear_Package_Contents_Role The role handler.
62: */
63: public function getRole();
64:
65: /**
66: * Return the install-as handler for this package.
67: *
68: * @return Horde_Pear_Package_Contents_InstallAs The install-as handler.
69: */
70: public function getInstallAs();
71: }