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

getMethod() public method

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

Usage Example

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