1: <?php
2: /**
3: * Horde_Pear_Package_Contents_Role:: defines role handlers for package.xml
4: * filelists.
5: *
6: * PHP version 5
7: *
8: * @category Horde
9: * @package Pear
10: * @author Gunnar Wrobel <wrobel@pardus.de>
11: * @license http://www.horde.org/licenses/lgpl21 LGPL 2.1
12: * @link http://pear.horde.org/index.php?package=Pear
13: */
14:
15: /**
16: * Horde_Pear_Package_Contents_Role:: defines role handlers for package.xml
17: * filelists.
18: *
19: * Copyright 2011-2012 Horde LLC (http://www.horde.org/)
20: *
21: * See the enclosed file COPYING for license information (LGPL). If you
22: * did not receive this file, see http://www.horde.org/licenses/lgpl21.
23: *
24: * @category Horde
25: * @package Pear
26: * @author Gunnar Wrobel <wrobel@pardus.de>
27: * @license http://www.horde.org/licenses/lgpl21 LGPL 2.1
28: * @link http://pear.horde.org/index.php?package=Pear
29: */
30: interface Horde_Pear_Package_Contents_Role
31: {
32: /**
33: * Tell which role the specified file has.
34: *
35: * @param string $file The file name.
36: *
37: * @return string The role of the file.
38: */
39: public function getRole($file);
40: }