Flarum\Extension\Extension::toArray PHP Méthode

toArray() public méthode

Generates an array result for the object.
public toArray ( ) : array
Résultat array
    public function toArray()
    {
        return (array) array_merge(['id' => $this->getId(), 'version' => $this->getVersion(), 'path' => $this->path, 'icon' => $this->getIcon(), 'hasAssets' => $this->hasAssets(), 'hasMigrations' => $this->hasMigrations()], $this->composerJson);
    }