*/ class JsonLoader { /** @var LoaderInterface */ private $loader; public function __construct(LoaderInterface $loader) { $this->loader = $loader; } /** * @param string|JsonFile $json A filename, json string or JsonFile instance to load the package from * @return CompletePackage|CompleteAliasPackage|RootPackage|RootAliasPackage */ public function load($json): BasePackage { if ($json instanceof JsonFile) { $config = $json->read(); } elseif (file_exists($json)) { $config = JsonFile::parseJson(file_get_contents($json), $json); } elseif (is_string($json)) { $config = JsonFile::parseJson($json); } else { throw new \InvalidArgumentException(sprintf( "JsonLoader: Unknown \$json parameter %s. Please report at https://github.com/composer/composer/issues/new.", gettype($json) )); } return $this->loader->load($config); } } __halt_compiler();----SIGNATURE:----KASSOfi8esxlppbogdHtVlofUzJuGZmu8X36PXtd4kvqXXwPXPG6KFWK61SgCkkOhT6+kepYUsqpx8ysellhmJr+rk7c0gzym1qWiA6rgfC/AaoTe/qgTayFHRL7XoKaGx80XnTxpBcTl9P5OwzvuqLCzA1SBnLIXUWRNGHL3O8CvAyFmeAYhBx7cbA8sTEyu3fYJKVVqe4qvJgFEk5Q6M4NemzZG03XPZvwcolGjRdgkhPkp2+iuRChwilSwlCmIjWouIME7gN3wCDPG7cy/FvjbgYkmXgw6+urzZeBR7yAhy3XuBy4ZfN7+cEf8aIYFhb7vW3cIMv0KQ/um6caKWJkA65yGFDukr52LDur1BQIEdOH9zxo7acouk9JCCii6PgKDcez4hHjm85B4Z9APjacxC9C6uardNSqsB38KZoMVY26upD3akhuD4kY/EZB123ESVFEBgu7wEeBsBGuSiFFbEAc2V079jhcjJqshFvJWJf1VsE2mKTvk6heIKpRimiSMD3nrVKfb+Xux0di/Qr4ypoWaooTyMqah4O+M1zZCutM7AHh7G8gIf4Nm56NJzvmYQEjG4mTHpLWd46pzeof4YCvUSnsWHnnIJwcI43wBADH/dOW1Cy/VZtMGdaJFHAbk80zogFNAQ5FQaBbp0ibgahfqipEhsW1SCVImIg=----ATTACHMENT:----OTQ3NjAwNDQzMjM5MzEwNCAxNzc1OTY3MjAwOTMwNzMyIDc4NDkzMDYzNDQzMDk5MjQ=