Autowirable Types ================= The following classes & interfaces can be used as type-hints when autowiring: A console command that creates users and stores them in the database. App\Command\AddUserCommand A console command that deletes users from the database. App\Command\DeleteUserCommand A console command that lists all the existing users. App\Command\ListUsersCommand App\Controller\Admin\AwbimportFormController Controller used to manage blog contents in the backend. App\Controller\Admin\BlogController App\Controller\Admin\C4rgoNewsFormController App\Controller\Admin\CloudCamController App\Controller\Admin\DMXLedLightController App\Controller\Admin\ImportCloudController App\Controller\Admin\ManagmentPannel App\Controller\Admin\SendReportsController Controller used to manage blog contents in the public part of the site. App\Controller\BLedController Controller used to manage blog contents in the public part of the site. App\Controller\BlogController App\Controller\C4rgoViewerController Short description for file App\Controller\DataController Controller used to manage blog contents in the public part of the site. App\Controller\DetailController Controller used to manage blog contents in the public part of the site. App\Controller\GalleryController Controller used to manage blog contents in the public part of the site. App\Controller\HomeController App\Controller\LocationController Controller used to manage blog contents in the public part of the site. App\Controller\MainWeighsController App\Controller\Monitor360Controller Description of MyPDFController App\Controller\MyPDFController Controller used to manage blog contents in the public part of the site. App\Controller\NotAvailableController App\Controller\ReportsController Controller used to manage blog contents in the public part of the site. App\Controller\SearchController Controller used to manage the application security. See https://symfony.com/doc/current/cookbook/security/form_login_setup.html. App\Controller\SecurityController App\Controller\ServiceController App\Controller\SpedArchiveController Controller used to manage blog contents in the public part of the site. App\Controller\StatController Controller used to manage blog contents in the public part of the site. App\Controller\StepTwoController App\Controller\WSSpedController App\Controller\WelcomeController App\DataFixtures\AppFixtures AAwbexport App\EntityService\AAwbexport App\EventListener\AuthenticationEventListener App\EventListener\SecurityListener This application uses by default an SQLite database to store its information. That's why the 'sqlite3' extension must be enabled in PHP. This event subscriber listens to console events and in case of an exception caused by a disabled 'sqlite3' extension, it displays a meaningful error message. App\EventSubscriber\CheckRequirementsSubscriber Notifies post's author about new comments. App\EventSubscriber\CommentNotificationSubscriber Defines the method that 'listens' to the 'kernel.controller' event, which is triggered whenever a controller is executed in the application. App\EventSubscriber\ControllerSubscriber When visiting the homepage, this listener redirects the user to the most appropriate localized version according to the browser settings. App\EventSubscriber\RedirectToPreferredLocaleSubscriber This class defines the names of all the events dispatched in the Symfony Demo application. It's not mandatory to create a class like this, but it's considered a good practice. App\Events Defines the form used to create and manipulate blog comments. Although in this case the form is trivial and we could build it inside the controller, a good practice is to always define your forms as classes. App\Form\CommentType This data transformer is used to translate the array of tags into a comma separated format that can be displayed and managed by Bootstrap-tagsinput js plugin (and back on submit). App\Form\DataTransformer\TagArrayToStringTransformer Defines the form used to create and manipulate blog posts. App\Form\PostType Defines the form used to create and manipulate blog comments. Although in this case the form is trivial and we could build it inside the controller, a good practice is to always define your forms as classes. App\Form\Type\AwbimportType Defines the form used to create and manipulate blog comments. Although in this case the form is trivial and we could build it inside the controller, a good practice is to always define your forms as classes. App\Form\Type\C4rgoNewsType Defines the custom form field type used to manipulate datetime values across Bootstrap Date\Time Picker javascript plugin. App\Form\Type\DateTimePickerType Defines the custom form field type used to manipulate tags values across Bootstrap-tagsinput javascript plugin. App\Form\Type\TagsInputType App\Kernel App\Repository\AddressBookRepository App\Repository\AeroPortiRepository App\Repository\AlertRepository App\Repository\AwbexportRepository App\Repository\AwbexportStoricoRepository App\Repository\AwbimportRepository App\Repository\AziendeRepository App\Repository\BarcodeRepository App\Repository\C4rgoNewsRepository App\Repository\DMXLedLightChannelsRepository App\Repository\DMXLedLightRepository App\Repository\DecodeRepository App\Repository\DeviceRepository App\Repository\DevicesRepository App\Repository\EmailRepository App\Repository\EncodedUrlRepository App\Repository\FotografieRepository App\Repository\GruppiRepository App\Repository\Log3DLabRepository App\Repository\LoginLogRepository App\Repository\LuoghiRepository App\Repository\MacchineRepository App\Repository\NazioniRepository App\Repository\NoteRepository App\Repository\PalletsRepository This custom Doctrine repository contains some methods which are useful when querying for blog post information. App\Repository\PostRepository App\Repository\ProfiliRepository App\Repository\QueriesModelRepository App\Repository\SessionRepository App\Repository\SpedRepository App\Repository\TEventiRepository App\Repository\TraduzioniRepository This custom Doctrine repository is empty because so far we don't need any custom method to query for application user information. But it's always a good practice to define a custom repository that will be used when the application grows. App\Repository\UserRepository App\Repository\VettoriRepository App\Repository\VolumeRepository App\Repository\WeightRepository It grants or denies permissions for actions related to blog posts (such as showing, editing and deleting posts). App\Security\PostVoter This Twig extension adds a new 'md2html' filter to easily transform Markdown contents into HTML contents inside Twig templates. App\Twig\AppExtension CAUTION: this is an extremely advanced Twig extension. It's used to get the source code of the controller and the template used to render the current page. If you are starting with Symfony, don't look at this code and consider studying instead the code of the src/App/Twig/AppExtension.php extension. App\Twig\SourceCodeExtension App\Utils\BarcodeValidator Description of Counters App\Utils\Counters App\Utils\Formatter This class is a light interface between an external Markdown parser library and the application. It's generally recommended to create these light interfaces to decouple your application from the implementation details of the third-party library. App\Utils\Markdown This class is used to convert PHP date format to moment.js format. App\Utils\MomentFormatConverter App\Utils\Slugger This class is used to provide an example of integrating simple classes as services into a Symfony application. App\Utils\Validator References all Doctrine connections and entity managers in a given Container. Doctrine\Bundle\DoctrineBundle\Registry (doctrine) - deprecated Interface for annotation readers. Doctrine\Common\Annotations\Reader (annotations.cached_reader) Contract covering object managers for a Doctrine persistence layer ManagerRegistry class to implement. Doctrine\Persistence\ManagerRegistry (doctrine) Contract for a Doctrine persistence layer ObjectManager class to implement. Doctrine\Persistence\ObjectManager A wrapper around a Doctrine\DBAL\Driver\Connection that adds features like events, transaction isolation levels, configuration, emulated transaction nesting, lazy connecting and more. Doctrine\DBAL\Connection (doctrine.dbal.default_connection) Connection interface. Driver connections must implement this interface. Doctrine\DBAL\Driver\Connection (doctrine.dbal.default_connection) EntityManager interface Doctrine\ORM\EntityManagerInterface (doctrine.orm.default_entity_manager) Endroid\QrCodeBundle\Controller\GenerateController Endroid\QrCodeBundle\Twig\QrCodeExtension Endroid\QrCode\Factory\QrCodeFactory Endroid\QrCode\Factory\QrCodeFactoryInterface (Endroid\QrCode\Factory\QrCodeFactory) Endroid\QrCode\WriterRegistry Endroid\QrCode\WriterRegistryInterface (Endroid\QrCode\WriterRegistry) Endroid\QrCode\Writer\BinaryWriter Endroid\QrCode\Writer\DebugWriter Endroid\QrCode\Writer\EpsWriter Endroid\QrCode\Writer\PngWriter Endroid\QrCode\Writer\SvgWriter Helper interface to validate query parameters from the active request. FOS\RestBundle\Request\ParamFetcherInterface (fos_rest.request.param_fetcher) ViewHandlerInterface. FOS\RestBundle\View\ViewHandlerInterface (fos_rest.view_handler.default) Interface for array transformation. JMS\Serializer\ArrayTransformerInterface (jms_serializer.serializer) Serializer Interface. JMS\Serializer\SerializerInterface (jms_serializer.serializer) Use this class to create a snapshot / thumbnail from a HTML page. Knp\Snappy\Image (knp_snappy.image) Use this class to transform a html/a url to a pdf. Knp\Snappy\Pdf (knp_snappy.pdf) Liip\ImagineBundle\Config\FilterFactoryCollection (liip_imagine.config.filter_factory_collection) Liip\ImagineBundle\Config\StackBuilder (liip_imagine.config.stack_builder) Liip\ImagineBundle\Config\StackCollection (liip_imagine.config.stack_collection) Liip\ImagineBundle\Controller\ImagineController Liip\ImagineBundle\Imagine\Cache\CacheManager (liip_imagine.cache.manager) Liip\ImagineBundle\Imagine\Data\DataManager (liip_imagine.data.manager) Liip\ImagineBundle\Imagine\Filter\FilterManager (liip_imagine.filter.manager) CacheItemPoolInterface generates CacheItemInterface objects. Psr\Cache\CacheItemPoolInterface (cache.app) Describes the interface of a container that exposes methods to read its entries. Psr\Container\ContainerInterface (service_container) Psr\Container\ContainerInterface $parameterBag (parameter_bag) Describes a logger instance. Psr\Log\LoggerInterface (monolog.logger) Psr\Log\LoggerInterface $cacheLogger (monolog.logger.cache) Psr\Log\LoggerInterface $consoleLogger (monolog.logger.console) Psr\Log\LoggerInterface $debugLogger (monolog.logger.debug) Psr\Log\LoggerInterface $doctrineLogger (monolog.logger.doctrine) Psr\Log\LoggerInterface $eventLogger (monolog.logger.event) Psr\Log\LoggerInterface $phpLogger (monolog.logger.php) Psr\Log\LoggerInterface $profilerLogger (monolog.logger.profiler) Psr\Log\LoggerInterface $requestLogger (monolog.logger.request) Psr\Log\LoggerInterface $routerLogger (monolog.logger.router) Psr\Log\LoggerInterface $securityLogger (monolog.logger.security) Psr\Log\LoggerInterface $snappyLogger (monolog.logger.snappy) Psr\Log\LoggerInterface $translationLogger (monolog.logger.translation) Psr\SimpleCache\CacheInterface (cache.app.simple) SensioLabs\Security\Command\SecurityCheckerCommand SensioLabs\Security\SecurityChecker SessionHandlerInterface (session.handler) Swift Mailer class. Swift_Mailer (swiftmailer.mailer.default) Interface for spools. Swift_Spool (swiftmailer.mailer.default.spool.memory) Sends Messages via an abstract Transport subsystem. Swift_Transport (swiftmailer.mailer.default.transport.spool) References Doctrine connections and entity managers. Symfony\Bridge\Doctrine\RegistryInterface (doctrine) - deprecated Redirects a request to another URL. Symfony\Bundle\FrameworkBundle\Controller\RedirectController TemplateController. Symfony\Bundle\FrameworkBundle\Controller\TemplateController Helps manage asset URLs. Symfony\Component\Asset\Packages (assets.packages) Interface for adapters managing instances of Symfony's CacheItem. Symfony\Component\Cache\Adapter\AdapterInterface (cache.app) ContainerInterface is the interface implemented by service container classes. Symfony\Component\DependencyInjection\ContainerInterface (service_container) ContainerBagInterface is the interface implemented by objects that manage service container parameters. Symfony\Component\DependencyInjection\ParameterBag\ContainerBagInterface (parameter_bag) ParameterBagInterface is the interface implemented by objects that manage service container parameters. Symfony\Component\DependencyInjection\ParameterBag\ParameterBagInterface (parameter_bag) Turns public and "container.reversible" services back to their ids. Symfony\Component\DependencyInjection\ReverseContainer (reverse_container) The EventDispatcherInterface is the central point of Symfony's event listener system. Listeners are registered on the manager and events are dispatched through the manager. Symfony\Component\EventDispatcher\EventDispatcherInterface (debug.event_dispatcher) Provides basic utility to manipulate the file system. Symfony\Component\Filesystem\Filesystem (filesystem) Allows creating a form based on a name, a class or a property. Symfony\Component\Form\FormFactoryInterface (form.factory) The central registry of the Form component. Symfony\Component\Form\FormRegistryInterface (form.registry) Creates ResolvedFormTypeInterface instances. Symfony\Component\Form\ResolvedFormTypeFactoryInterface (form.resolved_type_factory) Request stack that controls the lifecycle of requests. Symfony\Component\HttpFoundation\RequestStack (request_stack) FlashBagInterface. Symfony\Component\HttpFoundation\Session\Flash\FlashBagInterface (session.flash_bag) Interface for the session. Symfony\Component\HttpFoundation\Session\SessionInterface (session) StorageInterface. Symfony\Component\HttpFoundation\Session\Storage\SessionStorageInterface (session.storage.native) A helper service for manipulating URLs within and outside the request scope. Symfony\Component\HttpFoundation\UrlHelper (url_helper) FileLocator uses the KernelInterface to locate resources in bundles. Symfony\Component\HttpKernel\Config\FileLocator (file_locator) Formats debug file links. Symfony\Component\HttpKernel\Debug\FileLinkFormatter (debug.file_link_formatter) HttpKernelInterface handles a Request to convert it to a Response. Symfony\Component\HttpKernel\HttpKernelInterface (http_kernel) The Kernel is the heart of the Symfony system. Symfony\Component\HttpKernel\KernelInterface (kernel) Writes and reads values to/from an object/array graph. Symfony\Component\PropertyAccess\PropertyAccessorInterface (property_accessor) UrlGeneratorInterface is the interface that all URL generator classes must implement. Symfony\Component\Routing\Generator\UrlGeneratorInterface (router.default) UrlMatcherInterface is the interface that all URL matcher classes must implement. Symfony\Component\Routing\Matcher\UrlMatcherInterface (router.default) Holds information about the current request. Symfony\Component\Routing\RequestContext (router.request_context) Symfony\Component\Routing\RequestContextAwareInterface (router.default) RouterInterface is the interface that all Router classes must implement. Symfony\Component\Routing\RouterInterface (router.default) AuthenticationManagerInterface is the interface for authentication managers, which process Token authentication. Symfony\Component\Security\Core\Authentication\AuthenticationManagerInterface (security.authentication.manager) The TokenStorageInterface. Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface (security.token_storage) AccessDecisionManagerInterface makes authorization decisions. Symfony\Component\Security\Core\Authorization\AccessDecisionManagerInterface (debug.security.access.decision_manager) The AuthorizationCheckerInterface. Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface (security.authorization_checker) EncoderFactoryInterface to support different encoders for different accounts. Symfony\Component\Security\Core\Encoder\EncoderFactoryInterface (security.encoder_factory.generic) UserPasswordEncoderInterface is the interface for the password encoder service. Symfony\Component\Security\Core\Encoder\UserPasswordEncoderInterface (security.user_password_encoder.generic) RoleHierarchyInterface is the interface for a role hierarchy. Symfony\Component\Security\Core\Role\RoleHierarchyInterface (security.role_hierarchy) Helper class for commonly-needed security tasks. Symfony\Component\Security\Core\Security (security.helper) Implement to throw AccountStatusException during the authentication process. Symfony\Component\Security\Core\User\UserCheckerInterface (security.user_checker) Represents a class that loads UserInterface objects from some source for the authentication system. Symfony\Component\Security\Core\User\UserProviderInterface (security.user.provider.concrete.database_users) Manages CSRF tokens. Symfony\Component\Security\Csrf\CsrfTokenManagerInterface (security.csrf.token_manager) Generates CSRF tokens. Symfony\Component\Security\Csrf\TokenGenerator\TokenGeneratorInterface (security.csrf.token_generator) Stores CSRF tokens. Symfony\Component\Security\Csrf\TokenStorage\TokenStorageInterface (security.csrf.token_storage) A utility class that does much of the *work* during the guard authentication process. Symfony\Component\Security\Guard\GuardAuthenticatorHandler (security.authentication.guard_handler) Extracts Security Errors from Request. Symfony\Component\Security\Http\Authentication\AuthenticationUtils (security.authentication_utils) Firewall uses a FirewallMap to register security listeners for the given request. Symfony\Component\Security\Http\Firewall (debug.security.firewall) Encapsulates the logic needed to create sub-requests, redirect the user, and match URLs. Symfony\Component\Security\Http\HttpUtils (security.http_utils) SessionAuthenticationStrategyInterface. Symfony\Component\Security\Http\Session\SessionAuthenticationStrategyInterface (security.authentication.session_strategy) Stopwatch provides a way to profile code. Symfony\Component\Stopwatch\Stopwatch (debug.stopwatch) Extracts translation messages from a directory or files to the catalogue. New found messages are injected to the catalogue using the prefix. Symfony\Component\Translation\Extractor\ExtractorInterface (translation.extractor) TranslationReader reads translation messages from translation files. Symfony\Component\Translation\Reader\TranslationReaderInterface (translation.reader) TranslatorInterface. Symfony\Component\Translation\TranslatorInterface (translator.data_collector) TranslationWriter writes translation messages. Symfony\Component\Translation\Writer\TranslationWriterInterface (translation.writer) Validates PHP values against constraints. Symfony\Component\Validator\Validator\ValidatorInterface (debug.validator) Covers most simple to advanced caching needs. Symfony\Contracts\Cache\CacheInterface (cache.app) Allows invalidating cached items using tags. Symfony\Contracts\Cache\TagAwareCacheInterface (cache.app.taggable) Allows providing hooks on domain-specific lifecycles by dispatching events. Symfony\Contracts\EventDispatcher\EventDispatcherInterface (debug.event_dispatcher) Symfony\Contracts\Translation\TranslatorInterface (translator.data_collector) Stores the Twig configuration. Twig\Environment (twig) Twig_Extensions_Extension_Intl Vich\UploaderBundle\Form\Type\VichFileType (vich_uploader.form.type.file) Vich\UploaderBundle\Form\Type\VichImageType (vich_uploader.form.type.image) Vich\UploaderBundle\Handler\DownloadHandler (vich_uploader.download_handler) Upload handler. Vich\UploaderBundle\Handler\UploadHandler (vich_uploader.upload_handler) PropertyMappingFactory. Vich\UploaderBundle\Mapping\PropertyMappingFactory (vich_uploader.property_mapping_factory) Namer using a random base64 string. The resulting name will contain lower- and uppercase alphanumeric characters, '-' and '_', so it can be safely used in URLs. Vich\UploaderBundle\Naming\Base64Namer (vich_uploader.namer_base64) Directory namer wich can create subfolder depends on current datetime. Vich\UploaderBundle\Naming\CurrentDateTimeDirectoryNamer (vich_uploader.namer_directory_current_date_time) Namer wich uses hash function from random string for generating names. Vich\UploaderBundle\Naming\HashNamer (vich_uploader.namer_hash) OrignameNamer. Vich\UploaderBundle\Naming\OrignameNamer (vich_uploader.namer_origname) Directory namer which can create subfolder depends on property. Vich\UploaderBundle\Naming\PropertyDirectoryNamer (vich_uploader.namer_property) PropertyNamer. Vich\UploaderBundle\Naming\PropertyNamer (vich_uploader.namer_property) Directory namer wich can create subfolder depends on generated filename. Vich\UploaderBundle\Naming\SubdirDirectoryNamer (vich_uploader.namer_subdir) UniqidNamer. Vich\UploaderBundle\Naming\UniqidNamer (vich_uploader.namer_uniqid) FileSystemStorage. Vich\UploaderBundle\Storage\FileSystemStorage (vich_uploader.storage.file_system) Vich\UploaderBundle\Storage\StorageInterface (vich_uploader.storage.file_system) UploaderHelper. Vich\UploaderBundle\Templating\Helper\UploaderHelper (vich_uploader.templating.helper.uploader_helper) UploaderExtension. Vich\UploaderBundle\Twig\Extension\UploaderExtension (vich_uploader.twig.extension.uploader) Pro-tip: use interfaces in your type-hints instead of classes to benefit from the dependency inversion principle.