Doctrine\ODM\CouchDB\Configuration::setAutoGenerateProxyClasses PHP Method

setAutoGenerateProxyClasses() public method

public setAutoGenerateProxyClasses ( $bool )
    public function setAutoGenerateProxyClasses($bool)
    {
        $this->attributes['autoGenerateProxyClasses'] = $bool;
    }

Usage Example

 public function createConfiguration($metaDriver)
 {
     $config = new Configuration();
     $config->setProxyDir(\sys_get_temp_dir());
     $config->setAutoGenerateProxyClasses(true);
     $config->setMetadataDriverImpl($metaDriver);
     $config->setMetadataCacheImpl(new ArrayCache());
     $config->setLuceneHandlerName('_fti');
     return $config;
 }
All Usage Examples Of Doctrine\ODM\CouchDB\Configuration::setAutoGenerateProxyClasses