public function warm()
    {
        $warmed = [];
        if (false === $this->mf->hasCache()) {
            return $warmed;
        }

        $this->clear();
        foreach ($this->mf->getAllTypeNames() as $type) {
            $metadata = $this->mf->getMetadataForType($type);
            $warmed[] = $type;
        }
        return $warmed;
    }
public function warm()
    {
        $warmed = [];
        if (false === $this->mf->hasCache()) {
            return $warmed;
        }

        $this->clear();
        foreach ($this->mf->getAllTypeNames() as $type) {
            $metadata = $this->mf->getMetadataForType($type);
            $warmed[] = $type;
        }
        return $warmed;
    }
public function warm ( ) { $ warmed = [ ] ; if ( false === $ this -> mf -> hasCache ( ) ) { return $ warmed ; } $ this -> clear ( ) ; foreach ( $ this -> mf -> getAllTypeNames ( ) as $ type ) { $ metadata = $ this -> mf -> getMetadataForType ( $ type ) ; $ warmed [ ] = $ type ; } return $ warmed ; }
Warms up all metadata objects into the cache.

@return  array
Warms up all metadata objects into the cache .