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

getCast() public method

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);
    }