original_string: public function aliases()
      {
          return collect($this->getManifest())->flatMap(function ($configuration) {
              return (array) ($configuration['aliases'] ? $configuration['aliases'] : []);
          })->filter()->all();
      }
code: public function aliases()
      {
          return collect($this->getManifest())->flatMap(function ($configuration) {
              return (array) ($configuration['aliases'] ? $configuration['aliases'] : []);
          })->filter()->all();
      }
code_tokens: public function aliases ( ) { return collect ( $ this -> getManifest ( ) ) -> flatMap ( function ( $ configuration ) { return ( array ) ( $ configuration [ 'aliases' ] ? $ configuration [ 'aliases' ] : [ ] ) ; } ) -> filter ( ) -> all ( ) ; }
docstring: Get all of the aliases for all packages.
  
  @return array
docstring_tokens: Get all of the aliases for all packages .