getTagsValues() public method

Returns an array of tags and their values
public getTagsValues ( ) : array
return array Tags and values
Esempio n. 1
0
 /**
  * Returns all tags and their values the specified method is tagged with
  *
  * @param string $className Name of the class containing the method
  * @param string $methodName Name of the method to return the tags and values of
  * @return array An array of tags and their values or an empty array of no tags were found
  * @api
  */
 public function getMethodTagsValues($className, $methodName)
 {
     if (!$this->initialized) {
         $this->initialize();
     }
     $className = $this->cleanClassName($className);
     $method = new MethodReflection($className, $methodName);
     return $method->getTagsValues();
 }