. */ require_once 'phing/tasks/ext/phk/PhkPackageWebAccessPath.php'; /** * @author Alexey Shockov * @package phing.tasks.ext.phk */ class PhkPackageWebAccess { /** * @var array */ private $paths = array(); /** * @return PhkPackageWebAccessPath */ public function createPath() { return ($this->paths[] = new PhkPackageWebAccessPath()); } /** * @return array */ public function getPaths() { /* * Get real paths... */ $paths = array(); foreach ($this->paths as $path) { $paths[] = $path->getPath(); } return $paths; } }