__construct() __construct(array $resource) SpigetResource constructor. Parameters array $resource The source array of this resource.
getExternal() getExternal() : boolean Returns true if this resource is available via external sources. Returns boolean
getTestedVersions() getTestedVersions() : array Get the versions the resource was tested on. Returns array
of() of(string $resource) : \de\m4taiori\spiget4php\obj\SpigetResource Create a new SpigetResource from the API-result. Parameters string $resource The name or id of a resource. Throws \de\m4taiori\spiget4php\exceptions\SpigetException Returns \de\m4taiori\spiget4php\obj\SpigetResource