AppPath example

'disableOutputBuffering' => false,
        'showException' => false,
        'charset' => 'utf-8',
    ],
    'config' => [],
    'store' => [
        'apiEndpoint' => 'https://api.shopware.com',
        'timeout' => 7,
        'connect_timeout' => 5,
    ],
    'plugin_directories' => [
        'Default' => $this->AppPath('Plugins_Default'),
        'Local' => $this->AppPath('Plugins_Local'),
        'Community' => $this->AppPath('Plugins_Community'),
        'ShopwarePlugins' => $this->DocPath('custom_plugins'),
        'ProjectPlugins' => $this->DocPath('custom_project'),
    ],
    'template' => [
        'compileCheck' => false,
        'compileLocking' => true,
        'useSubDirs' => true,
        'forceCompile' => false,
        'useIncludePath' => true,
        
$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> */
Home | Imprint | This part of the site doesn't use cookies.