Pinq\Analysis\Types\Type::getCast PHP Метод

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

public getCast ( CastExpression $expression )
$expression Pinq\Expressions\CastExpression
    public function getCast(O\CastExpression $expression)
    {
        if (isset($this->castOperations[$expression->getCastType()])) {
            return $this->castOperations[$expression->getCastType()];
        }
        return $this->parentType->getCast($expression);
    }