| 1 | <?php |
||
| 5 | class FileInfo |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * @var string |
||
| 9 | */ |
||
| 10 | protected $rootDirectory; |
||
| 11 | |||
| 12 | /** |
||
| 13 | * @var Pattern |
||
| 14 | */ |
||
| 15 | protected $pattern; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @var array |
||
| 19 | */ |
||
| 20 | protected $attributes; |
||
| 21 | |||
| 22 | public function __construct($rootDirectory, Pattern $pattern, array $attributes) |
||
| 28 | |||
| 29 | public function getAbsolutePathname() |
||
| 33 | |||
| 34 | public function getRelativePathname() |
||
| 38 | |||
| 39 | public function getPathname(array $usingAttributes = array()) |
||
| 45 | |||
| 46 | public function getAttribute($name) |
||
| 54 | } |
||
| 55 |