__construct() public method

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
コード例 #1
0
ファイル: NativeType.php プロジェクト: timetoogo/pinq
 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;
 }
コード例 #2
0
ファイル: ObjectType.php プロジェクト: timetoogo/pinq
 /**
  * @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;
 }
コード例 #3
0
ファイル: CompositeType.php プロジェクト: timetoogo/pinq
 public function __construct($identifier, IType $parentType, array $composedTypes)
 {
     parent::__construct($identifier, $parentType);
     $this->composedTypes = $composedTypes;
 }