public function clear($type = null)
    {
        if (false === $this->mf->hasCache()) {
            return [];
        }
        return $this->doClear($this->getTypes($type));
    }
public function clear($type = null)
    {
        if (false === $this->mf->hasCache()) {
            return [];
        }
        return $this->doClear($this->getTypes($type));
    }
public function clear ( $ type = null ) { if ( false === $ this -> mf -> hasCache ( ) ) { return [ ] ; } return $ this -> doClear ( $ this -> getTypes ( $ type ) ) ; }
Clears metadata objects from the cache.

@param   string|array|null   $type
@return  array
Clears metadata objects from the cache .