Method |
Description |
|
__construct ( JarvesConfig $jarvesConfig, string $adminPrefix, string $cacheDir, string $rootDir, string $environment, string $debugMode, Symfony\Component\HttpKernel\KernelInterface $kernel, Symfony\Component\HttpFoundation\RequestStack $requestStack, Symfony\Component\EventDispatcher\EventDispatcherInterface $eventDispatcher, FieldTypes $fieldTypes ) |
|
|
getAdminPrefix ( ) : string |
Returns the normalize jarves_admin_prefix parameter. |
|
getBundle ( string $bundleName ) : Symfony\Component\HttpKernel\Bundle\BundleInterface | null |
|
|
getBundleDir ( string $bundleName ) : string | null |
|
|
getBundleFromPath ( string $path, string &$bundleName = '' ) : null | Symfony\Component\HttpKernel\Bundle\BundleInterface |
|
|
getBundleName ( string $bundleClass ) : string |
Returns the bundle name. |
|
getBundles ( ) : Symfony\Component\HttpKernel\Bundle\BundleInterface[] |
Returns all Symfony Bundles. |
|
getCache ( ) |
|
|
getCacheDir ( ) : string |
|
|
getConfig ( $bundleName ) : Bundle | null |
Returns a configuration for a bundle. |
|
getConfigs ( ) : Configs | Bundle[] |
Returns all configurations for all registered bundles. |
|
getFieldTypes ( ) : FieldTypes |
|
|
getId ( ) : string |
Returns the installation id. |
|
getOrCreateConfig ( string $bundleName ) : Bundle | null |
|
|
getRealConfig ( string $bundleName ) : Bundle |
Returns a real Bundle config object, which is being read from the configurations
files without bootstrap. So this configuration does not contain any changes from
autoCrud, object-attributes, field modifications and other configuration manipulations from the bootstrap. |
|
getRequest ( ) : Request |
|
|
getRoot ( ) : string |
|
|
getRootDir ( ) : string |
|
|
getShortBundleName ( string $bundleName ) : string |
Returns the short bundle name of $bundleName. |
|
getSystemConfig ( ) : SystemConfig |
|
|
getWebCacheDir ( ) : string |
|
|
isActiveBundle ( string $bundleName ) : boolean |
Checks if a (jarves) bundle is activated. |
|
isDebugMode ( ) : boolean |
|
|
isJarvesBundle ( string $bundleName ) : boolean |
|
|
loadBundleConfigs ( Cacher $cacher ) : null | callable |
Loads all configurations from all registered bundles (BundleName/Resources/config/jarves*.xml) |
|
reset ( ) |
Resets current PageResponse; |
|
resolveInternalPublicPath ( string $path ) : mixed |
Shortcut for $this->resolvePath($path, 'Resources/public') |
|
resolvePath ( string $path, string $suffix = '', boolean $relativePath = false ) : string |
('@JarvesBundle/Resources/public/test.png') => /var/www/jarves/src/Jarves/Resources/public/test.png
('@JarvesBundle/Resources/public/test.png', '', true) => src/Jarves/Resources/public/test.png |
|
resolvePublicWebPath ( string $path ) : string |
('@JarvesBundle/admin/js/test.js') => bundles/jarves/admin/js/test.js |
|
resolveWebPath ( string $path ) : string |
('@JarvesBundle/admin/js/test.js') => web/bundles/jarves/admin/js/test.js |
|
setConfigs ( Configs $configs ) |
|
|
terminate ( ) |
Terminates everything, each post request event. |
|