Exemplo n.º 1
0
 /**
  * @param string $from
  * @param string $path
  */
 public function __construct($from, $path)
 {
     parent::__construct($path);
     if (is_string($from)) {
         $from = new JsonPointer($from);
     }
     $this->from = $from;
 }
Exemplo n.º 2
0
 /**
  * @param string $path
  * @param mixed  $value
  */
 public function __construct($path, $value)
 {
     parent::__construct($path);
     $this->value = $value;
 }