Pinq\Analysis\Types\Type::getStaticMethod PHP Method

getStaticMethod() public method

public getStaticMethod ( StaticMethodCallExpression $expression )
$expression Pinq\Expressions\StaticMethodCallExpression
    public function getStaticMethod(O\StaticMethodCallExpression $expression)
    {
        return $this->parentType->getStaticMethod($expression);
    }

Usage Example

Example #1
0
 public function getStaticMethod(O\StaticMethodCallExpression $expression)
 {
     if ($method = $this->getMethodByName($expression->getName(), true)) {
         return $method;
     }
     return parent::getStaticMethod($expression);
 }