Kernel::getContainer()

ContainerInterface getContainer() Gets the current container. Return Value ContainerInterface A ContainerInterface instance

Kernel::getCharset()

string getCharset() Gets the charset of the application. Return Value string The charset

Kernel::getCacheDir()

string getCacheDir() Gets the cache directory. Return Value string The cache directory

Kernel::getBundles()

BundleInterface[] getBundles() Gets the registered bundle instances. Return Value BundleInterface[] An array of registered bundle instances

Kernel::getBundle()

BundleInterface|BundleInterface[] getBundle(string $name, bool $first = true) Returns a bundle and optionally its descendants by its name. Parameters string $name Bundle name bool $first Whether to return the first bundle only or together with its descendants Return Value BundleInterface|BundleInterface[] A BundleInterface instance or an array of BundleInterface instances if $first is false Exceptions InvalidArgumentException when the bundle is not enabled

Kernel::boot()

boot() Boots the current kernel.

Kernel

class Kernel implements KernelInterface, TerminableInterface The Kernel is the heart of the Symfony system. It manages an environment made of bundles. Constants VERSION VERSION_ID MAJOR_VERSION MINOR_VERSION RELEASE_VERSION EXTRA_VERSION END_OF_MAINTENANCE END_OF_LIFE Methods __construct(string $environment, bool $debug) Constructor. __clone() boot() Boots the current kernel. terminate(Request $request, Response $response) Terminates a re

JsonSerializableNormalizer::supportsNormalization()

bool supportsNormalization(mixed $data, string $format = null) Checks whether the given class is supported for normalization by this normalizer. Parameters mixed $data Data to normalize. string $format The format being (de-)serialized from or into. Return Value bool

JsonSerializableNormalizer::supportsDenormalization()

bool supportsDenormalization(mixed $data, string $type, string $format = null) Checks whether the given class is supported for denormalization by this normalizer. Parameters mixed $data Data to denormalize from. string $type The class to which the data should be denormalized. string $format The format being deserialized from. Return Value bool

JsonSerializableNormalizer::normalize()

array|string|bool|int|float|null normalize(object $object, string $format = null, array $context = array()) Normalizes an object into a set of arrays/scalars. Parameters object $object object to normalize string $format format the normalization result will be encoded as array $context Context options for the normalizer Return Value array|string|bool|int|float|null