public function __construct($identifier, IType $parentType = null, $typeOfType, ITypeOperation $indexer = null, array $castOperations = [], array $unaryOperations = []) { parent::__construct($identifier, $parentType); $this->typeOfType = $typeOfType; $this->indexer = $indexer; $this->castOperations = $castOperations; $this->unaryOperations = $unaryOperations; }
public function __construct($identifier, IType $parentType, array $composedTypes) { parent::__construct($identifier, $parentType); $this->composedTypes = $composedTypes; }
public function getInvocation(O\InvocationExpression $expression) { if ($this->invoker !== null) { return $this->invoker; } return parent::getInvocation($expression); }