| Conditions | 3 | 
| Paths | 2 | 
| Total Lines | 11 | 
| Code Lines | 6 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php  | 
            ||
| 21 | final public function __construct($identifier)  | 
            ||
| 22 |     { | 
            ||
| 23 |         if (!is_scalar($identifier) || is_bool($identifier)) { | 
            ||
| 24 |             throw new \InvalidArgumentException('Identifier must be a scalar, alpha numeric value'); | 
            ||
| 25 | }  | 
            ||
| 26 | |||
| 27 | $this->validate($identifier);  | 
            ||
| 28 | |||
| 29 | $this->identifier = $identifier;  | 
            ||
| 30 | $this->type = get_class($this);  | 
            ||
| 31 | $this->identityHash = self::createIdentityHash($this);  | 
            ||
| 32 | }  | 
            ||
| 59 |