DebugClassLoader deprecated

class DebugClassLoader deprecated since version 2.4, to be removed in 3.0. Use {@link \Symfony\Component\Debug\DebugClassLoader} instead. Autoloader checking if the class is really defined in the file found. The DebugClassLoader will wrap all registered autoloaders providing a findFile method and will throw an exception if a file is found but does not declare the class. Methods __construct(object $classFinder) Constructor. object getClassLoader() Gets the wrapped class loader.

DebugClassLoader

class DebugClassLoader Autoloader checking if the class is really defined in the file found. The ClassLoader will wrap all registered autoloaders and will throw an exception if a file is found but does not declare the class. Methods __construct(callable $classLoader) Constructor. callable getClassLoader() Gets the wrapped class loader. static enable() Wraps all autoloaders. static disable() Disables the wrapping. bool|null loadClass(string $class) Loads the given clas

DebugBundle::build()

build(ContainerBuilder $container) Builds the bundle. It is only ever called once when the cache is empty. This method can be overridden to register compilation passes, other extensions, ... Parameters ContainerBuilder $container A ContainerBuilder instance

DebugBundle::boot()

boot() Boots the Bundle.

DebugBundle

class DebugBundle extends Bundle Traits ContainerAwareTrait ContainerAware trait. Methods setContainer(ContainerInterface $container = null) Sets the container. from ContainerAwareTrait boot() Boots the Bundle. shutdown() Shutdowns the Bundle. from Bundle build(ContainerBuilder $container) Builds the bundle. ExtensionInterface|null getContainerExtension() Returns the bundle's container extension. from Bundle string getNamespace() Gets the Bundle namespace. from

DebugAccessDecisionManager::setVoters()

setVoters(array $voters) {@inheritdoc} Parameters array $voters

DebugAccessDecisionManager::getVoters()

array getVoters() Return Value array

DebugAccessDecisionManager::getStrategy()

string getStrategy() Return Value string

DebugAccessDecisionManager::getDecisionLog()

array getDecisionLog() Return Value array

DebugAccessDecisionManager::decide()

bool decide(TokenInterface $token, array $attributes, object $object = null) Decides whether the access is possible or not. Parameters TokenInterface $token A TokenInterface instance array $attributes An array of attributes associated with the method being invoked object $object The object to secure Return Value bool true if the access is granted, false otherwise