getRootPath() public method

Return the path to the root of the package.
public getRootPath ( ) : string
return string The path to the root.
Example #1
0
 /**
  * Constructor.
  *
  * @param Horde_Pear_Package_Type $type The package type.
  *
  * @return NULL
  */
 public function __construct(Horde_Pear_Package_Type $type)
 {
     $this->_root = $type->getRootPath();
     $this->_include = $type->getInclude();
     $this->_ignore = $type->getIgnore();
     $this->_role = $type->getRole();
     $this->_install_as = $type->getInstallAs();
 }