public function warmCache($render_class = 'PatternBuilder\Property\Component\Component')
    {
        $this->schemaFiles = $this->getSchemaFiles();
        foreach ($this->schemaFiles as $key => $schema_file) {
            if ($json = $this->loadSchema($schema_file)) {
                $cid = $this->getCid($key);
                $component = new $render_class($json);
                $this->setCache($cid, $component);
            }
        }
    }
public function warmCache($render_class = 'PatternBuilder\Property\Component\Component')
    {
        $this->schemaFiles = $this->getSchemaFiles();
        foreach ($this->schemaFiles as $key => $schema_file) {
            if ($json = $this->loadSchema($schema_file)) {
                $cid = $this->getCid($key);
                $component = new $render_class($json);
                $this->setCache($cid, $component);
            }
        }
    }
public function warmCache ( $ render_class = 'PatternBuilder\Property\Component\Component' ) { $ this -> schemaFiles = $ this -> getSchemaFiles ( ) ; foreach ( $ this -> schemaFiles as $ key => $ schema_file ) { if ( $ json = $ this -> loadSchema ( $ schema_file ) ) { $ cid = $ this -> getCid ( $ key ) ; $ component = new $ render_class ( $ json ) ; $ this -> setCache ( $ cid , $ component ) ; } } }
Pre-load and create all objects to be cached.

@param string $render_class Type of class to be returned on successful object creation.
Pre - load and create all objects to be cached .