src/Core/PackageManifest.php
public function get($key = 'aliases')
    {
        return collect($this->getManifest())->flatMap(function ($configuration) use ($key) {
            return (array) ($configuration[$key] ?? []);
        })->filter()->all();
    }
public function get($key = 'aliases')
    {
        return collect($this->getManifest())->flatMap(function ($configuration) use ($key) {
            return (array) ($configuration[$key] ?? []);
        })->filter()->all();
    }
public function get ( $ key = 'aliases' ) { return collect ( $ this -> getManifest ( ) ) -> flatMap ( function ( $ configuration ) use ( $ key ) { return ( array ) ( $ configuration [ $ key ] ?? [ ] ) ; } ) -> filter ( ) -> all ( ) ; }
Get manifest items by key.

@param string $key

@throws \Illuminate\Contracts\Filesystem\FileNotFoundException

@return array
Get manifest items by key .