Esempio n. 1
0
 /**
  * @param string $string
  *
  * @return static
  */
 public static function fromString($string)
 {
     $string = (new Str($string))->fromCanonical(self::NS_SEPARATOR);
     return parent::fromString((string) $string);
 }
Esempio n. 2
0
 /**
  * @dataProvider noScalarsProvider
  * @expectedException \hollodotme\MilestonES\Exceptions\IdentifierArgumentIsNotScalar
  */
 public function testCannotBeContructedFromExpressions($expression)
 {
     Identifier::fromString($expression);
 }