key() public method

Return the key for the dependency
public key ( ) : string
return string The uniqe key for this dependency.
Exemplo n.º 1
0
 /**
  * List an external package as dependency.
  *
  * @param Components_Pear_Dependencies $dependencies The package dependencies.
  * @param int                          $level        The current list level.
  *
  * @return NULL
  */
 private function _listExternal(Components_Component_Dependency $dependency, $level, $options)
 {
     $this->_element('yellow', $level, $dependency->key(), $dependency->getName(), $dependency->channelOrType(), '(NOT RESOLVED) ***STOP***', $options);
 }