Pinq\Expressions\CastExpression::getCastType PHP Метод

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

public getCastType ( ) : string
Результат string The cast operator
    public function getCastType()
    {
        return $this->castType;
    }

Usage Example

Пример #1
0
 public function getCast(O\CastExpression $expression)
 {
     if (isset($this->castOperations[$expression->getCastType()])) {
         return $this->castOperations[$expression->getCastType()];
     }
     return $this->parentType->getCast($expression);
 }