Esempio n. 1
0
 /**
  * Returns all functions from all namespaces.
  *
  * @return array
  */
 public function getFunctions()
 {
     $generator = $this->generator;
     return array_map(function (IReflectionFunction $function) use($generator) {
         return new Reflection\ReflectionFunction($function, $generator);
     }, parent::getFunctions());
 }
 /**
  * @return ReflectionFunction[]
  */
 public function getFunctions()
 {
     return array_map(function (IReflectionFunction $function) {
         return $this->reflectionFactory->createFromReflection($function);
     }, parent::getFunctions());
 }