public __construct ( string $identifier, Pinq\Analysis\IType $parentType = null, Pinq\Analysis\ITypeOperation $indexer = null, array $castOperations = [], array $unaryOperations = [] ) | ||
$identifier | string | |
$parentType | Pinq\Analysis\IType | |
$indexer | Pinq\Analysis\ITypeOperation | |
$castOperations | array | |
$unaryOperations | array |
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; }
/** * @param string $identifier * @param \ReflectionClass $reflection * @param IType $parentType * @param IConstructor $constructor * @param IMethod[] $methods * @param IField[] $fields * @param ITypeOperation[] $unaryOperations * @param ITypeOperation[] $castOperations * @param ITypeOperation|IMethod|null $invoker * @param ITypeOperation|null $indexer */ public function __construct($identifier, \ReflectionClass $reflection, IType $parentType, IConstructor $constructor = null, array $methods = [], array $fields = [], array $unaryOperations = [], array $castOperations = [], ITypeOperation $invoker = null, ITypeOperation $indexer = null) { parent::__construct($identifier, $parentType, $indexer, $unaryOperations, $castOperations); $this->classType = $reflection->getName(); $this->reflection = $reflection; $this->invoker = $invoker; $this->constructor = $constructor; $this->methods = $methods; $this->fields = $fields; $this->invoker = $invoker; }
public function __construct($identifier, IType $parentType, array $composedTypes) { parent::__construct($identifier, $parentType); $this->composedTypes = $composedTypes; }