Pinq\Analysis\Types\Type::__construct PHP Method

__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
    public function __construct($identifier, IType $parentType = null, ITypeOperation $indexer = null, array $castOperations = [], array $unaryOperations = [])
    {
        $this->identifier = $identifier;
        $this->parentType = $parentType;
        $this->indexer = $indexer;
        $this->castOperations = $castOperations;
        $this->unaryOperations = $unaryOperations;
    }

Usage Example

Example #1
0
 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;
 }
All Usage Examples Of Pinq\Analysis\Types\Type::__construct