Example #1
0
 public static function createFrom(Reader $file)
 {
     \tool::fprint("Reading ... " . get_called_class() . "::" . __FUNCTION__);
     return new static(TAG_String::readFrom($file), static::readFrom($file));
 }
Example #2
0
 public static function createFrom(Reader $file)
 {
     $self = new static(TAG_String::readFrom($file));
     return static::readFrom($file, $self);
 }