protected function getPlugin($plugin)
    {
        try {
            list($vendor, $package) = explode('/', $plugin);

            return $this->get('anime_db.api.client')->getPlugin($vendor, $package);
        } catch (\RuntimeException $e) {
            return;
        }
    }
protected function getPlugin($plugin)
    {
        try {
            list($vendor, $package) = explode('/', $plugin);

            return $this->get('anime_db.api.client')->getPlugin($vendor, $package);
        } catch (\RuntimeException $e) {
            return;
        }
    }
protected function getPlugin ( $ plugin ) { try { list ( $ vendor , $ package ) = explode ( '/' , $ plugin ) ; return $ this -> get ( 'anime_db.api.client' ) -> getPlugin ( $ vendor , $ package ) ; } catch ( \ RuntimeException $ e ) { return ; } }
Get plugin.

@param string $plugin

@return array|null
Get plugin .