Pickle\Package\PHP\Util\PackageXml::load PHP Метод

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

public load ( )
    public function load()
    {
        $loader = new Package\PHP\Util\XML\Loader(new Package\Util\Loader());
        $this->package = $loader->load($this->xmlPath);
        if (!$this->package) {
            throw new \Exception("Failed to load '{$this->xmlPath}'");
        }
        return $this->package;
    }