Pinq\Expressions\CastExpression::getCastType PHP Method

getCastType() public method

public getCastType ( ) : string
return string The cast operator
    public function getCastType()
    {
        return $this->castType;
    }

Usage Example

コード例 #1
0
ファイル: Type.php プロジェクト: timetoogo/pinq
 public function getCast(O\CastExpression $expression)
 {
     if (isset($this->castOperations[$expression->getCastType()])) {
         return $this->castOperations[$expression->getCastType()];
     }
     return $this->parentType->getCast($expression);
 }