public function enableDebugMode() { $this->debugMode = true;
} /**
* @return Generator
*/
public function createModelGenerator() { return new Generator( $this->
getConnection()->
getSchemaManager(),
$this->
getConfiguration()->
getAttributeDir(),
Shopware()->
AppPath('Models'
) );
} /**
* Serialize an entity to an array
*
* @author Boris Guéry <guery.b@gmail.com>
* @license http://sam.zoy.org/wtfpl/COPYING
*
* @see http://borisguery.github.com/bgylibrary
* @see https://gist.github.com/1034079#file_serializable_entity.php
*
* @param ModelEntity|null $entity
*
* @return array<string, mixed>
*/