Pinq\Analysis\TypeAnalysis::getReturnTypeOf PHP Метод

getReturnTypeOf() публичный Метод

public getReturnTypeOf ( Expression $expression )
$expression Pinq\Expressions\Expression
    public function getReturnTypeOf(O\Expression $expression)
    {
        if (!isset($this->analysis[$expression])) {
            throw new TypeException('Cannot get return type for expression of type \'%s\': the expression has no associated return type', $expression->getType());
        }
        return $this->analysis[$expression];
    }