protected function findWhatProvides($name)
    {
        $assetPrefix = $this->assetType->getComposerVendorName().'/';

        if (false === strpos($name, $assetPrefix)) {
            return array();
        }

        if (isset($this->providers[$name])) {
            return $this->providers[$name];
        }

        $data = null;
        if ($this->hasVcsRepository($name)) {
            $this->providers[$name] = array();
            $data = $this->providers[$name];
        }

        return $data;
    }
protected function findWhatProvides($name)
    {
        $assetPrefix = $this->assetType->getComposerVendorName().'/';

        if (false === strpos($name, $assetPrefix)) {
            return array();
        }

        if (isset($this->providers[$name])) {
            return $this->providers[$name];
        }

        $data = null;
        if ($this->hasVcsRepository($name)) {
            $this->providers[$name] = array();
            $data = $this->providers[$name];
        }

        return $data;
    }
protected function findWhatProvides ( $ name ) { $ assetPrefix = $ this -> assetType -> getComposerVendorName ( ) . '/' ; if ( false === strpos ( $ name , $ assetPrefix ) ) { return array ( ) ; } if ( isset ( $ this -> providers [ $ name ] ) ) { return $ this -> providers [ $ name ] ; } $ data = null ; if ( $ this -> hasVcsRepository ( $ name ) ) { $ this -> providers [ $ name ] = array ( ) ; $ data = $ this -> providers [ $ name ] ; } return $ data ; }
Finds what provides in cache or return empty array if the
name is not a asset package.

@param string $name

@return null|array
Finds what provides in cache or return empty array if the name is not a asset package .