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