Sanpi\Behatch\Json\Json::__construct PHP Метод

__construct() публичный Метод

public __construct ( $content )
    public function __construct($content)
    {
        $this->content = $this->decode((string) $content);
    }

Usage Example

Пример #1
0
 public function __construct($content, $uri = null)
 {
     $this->uri = $uri;
     parent::__construct($content);
 }