A
- Application — Class in namespace Silex
- The Silex framework class.
- Application::after() — Method in class Application
- Registers an after filter.
- Application::abort() — Method in class Application
- Aborts the current request by sending a proper HTTP error.
- Controller::assert() — Method in class Controller
- Controller::after() — Method in class Controller
- SecurityServiceProvider::addFakeRoute() — Method in class SecurityServiceProvider
- Route::assert() — Method in class Route
- Sets the requirement for a route variable.
- Route::after() — Method in class Route
- Sets a callback to handle after the route callback.
B
- Application::boot() — Method in class Application
- Boots all service providers.
- Application::before() — Method in class Application
- Registers a before filter.
- Controller::bind() — Method in class Controller
- Sets the controller's route.
- Controller::before() — Method in class Controller
- DoctrineServiceProvider::boot() — Method in class DoctrineServiceProvider
- Bootstraps the application.
- FormServiceProvider::boot() — Method in class FormServiceProvider
- Bootstraps the application.
- HttpCacheServiceProvider::boot() — Method in class HttpCacheServiceProvider
- Bootstraps the application.
- MonologServiceProvider::boot() — Method in class MonologServiceProvider
- Bootstraps the application.
- RememberMeServiceProvider::boot() — Method in class RememberMeServiceProvider
- Bootstraps the application.
- SecurityServiceProvider::boot() — Method in class SecurityServiceProvider
- Bootstraps the application.
- SerializerServiceProvider::boot() — Method in class SerializerServiceProvider
- Bootstraps the application.
- ServiceControllerServiceProvider::boot() — Method in class ServiceControllerServiceProvider
- Bootstraps the application.
- SessionServiceProvider::boot() — Method in class SessionServiceProvider
- Bootstraps the application.
- SwiftmailerServiceProvider::boot() — Method in class SwiftmailerServiceProvider
- Bootstraps the application.
- TranslationServiceProvider::boot() — Method in class TranslationServiceProvider
- Bootstraps the application.
- TwigServiceProvider::boot() — Method in class TwigServiceProvider
- Bootstraps the application.
- UrlGeneratorServiceProvider::boot() — Method in class UrlGeneratorServiceProvider
- Bootstraps the application.
- ValidatorServiceProvider::boot() — Method in class ValidatorServiceProvider
- Bootstraps the application.
- Route::before() — Method in class Route
- Sets a callback to handle before triggering the route callback.
- ServiceProviderInterface::boot() — Method in class ServiceProviderInterface
- Bootstraps the application.
C
- ConstraintValidatorFactory — Class in namespace Silex
- Uses a service container to create constraint validators with dependencies.
- Controller — Class in namespace Silex
- A wrapper for a controller, mapped to a route.
- Controller::convert() — Method in class Controller
- ControllerCollection — Class in namespace Silex
- Builds Silex controllers.
- ControllerProviderInterface — Class in namespace Silex
- Interface for controller providers.
- ControllerProviderInterface::connect() — Method in class ControllerProviderInterface
- Returns routes to connect to the given application.
- ControllerResolver — Class in namespace Silex
- Adds Application as a valid argument for controllers.
- ConverterListener — Class in namespace Silex\EventListener
- Handles converters.
- ControllerFrozenException — Class in namespace Silex\Exception
- Exception, is thrown when a frozen controller is modified
- Route::convert() — Method in class Route
- Sets a converter for a route variable.
- Compiler — Class in namespace Silex\Util
- The Compiler class compiles the Silex framework.
- Compiler::compile() — Method in class Compiler
- Compiles the Silex source code into one single Phar file.
- WebTestCase::createApplication() — Method in class WebTestCase
- Creates the application.
- WebTestCase::createClient() — Method in class WebTestCase
- Creates a Client.
D
- Application::delete() — Method in class Application
- Maps a DELETE request to a callable.
- ControllerCollection::delete() — Method in class ControllerCollection
- Maps a DELETE request to a callable.
- ExceptionHandler::disable() — Method in class ExceptionHandler
- DoctrineServiceProvider — Class in namespace Silex\Provider
- Doctrine DBAL Provider.
E
- Application::error() — Method in class Application
- Registers an error handler.
- Application::escape() — Method in class Application
- Escapes a text for HTML.
- ExceptionHandler — Class in namespace Silex
- Defaults exception handler.
- ExceptionListenerWrapper — Class in namespace Silex
- Wraps exception listeners.
F
- Application::finish() — Method in class Application
- Registers a finish filter.
- Application::flush() — Method in class Application
- Flushes the controller collection.
- Controller::freeze() — Method in class Controller
- Freezes the controller.
- ControllerCollection::flush() — Method in class ControllerCollection
- Persists and freezes staged controllers.
- FormServiceProvider — Class in namespace Silex\Provider
- Symfony Form component Provider.
G
- Application::get() — Method in class Application
- Maps a GET request to a callable.
- ConstraintValidatorFactory::getInstance() — Method in class ConstraintValidatorFactory
- Returns the validator for the supplied constraint.
- Controller::getRoute() — Method in class Controller
- Gets the controller's route.
- Controller::getRouteName() — Method in class Controller
- Gets the controller's route name.
- Controller::generateRouteName() — Method in class Controller
- ControllerCollection::get() — Method in class ControllerCollection
- Maps a GET request to a callable.
- ConverterListener::getSubscribedEvents() — Method in class ConverterListener
- MiddlewareListener::getSubscribedEvents() — Method in class MiddlewareListener
- StringToResponseListener::getSubscribedEvents() — Method in class StringToResponseListener
- ExceptionHandler::getSubscribedEvents() — Method in class ExceptionHandler
- {@inheritdoc}
- LazyUrlMatcher::getUrlMatcher() — Method in class LazyUrlMatcher
- Returns the corresponding UrlMatcherInterface instance.
- LazyUrlMatcher::getContext() — Method in class LazyUrlMatcher
- {@inheritdoc}
- TwigCoreExtension::getFunctions() — Method in class TwigCoreExtension
- TwigCoreExtension::getName() — Method in class TwigCoreExtension
- ServiceControllerResolver::getController() — Method in class ServiceControllerResolver
- {@inheritdoc}
- ServiceControllerResolver::getArguments() — Method in class ServiceControllerResolver
- {@inheritdoc}
H
- Application::handle() — Method in class Application
- {@inheritdoc}
- HttpCache — Class in namespace Silex
- HTTP Cache extension to allow using the run() shortcut.
- HttpCacheServiceProvider — Class in namespace Silex\Provider
- Symfony HttpKernel component Provider for HTTP cache.
- Route::host() — Method in class Route
- Sets the requirement of host on this Route.
J
- Application::json() — Method in class Application
- Convert some data into a JSON response.
L
- LocaleListener — Class in namespace Silex\EventListener
- Initializes the locale based on the current request.
- LazyUrlMatcher — Class in namespace Silex
- Implements a lazy UrlMatcher.
M
- Application::match() — Method in class Application
- Maps a pattern to a callable.
- Application::mount() — Method in class Application
- Mounts controllers under the given route prefix.
- Controller::method() — Method in class Controller
- ControllerCollection::match() — Method in class ControllerCollection
- Maps a pattern to a callable.
- MiddlewareListener — Class in namespace Silex\EventListener
- Manages the route middlewares.
- LazyUrlMatcher::match() — Method in class LazyUrlMatcher
- {@inheritdoc}
- MonologServiceProvider — Class in namespace Silex\Provider
- Monolog Provider.
- Route::method() — Method in class Route
- Sets the requirement for the HTTP method.
O
- Application::on() — Method in class Application
- Adds an event listener that listens on the specified events.
- ConverterListener::onKernelController() — Method in class ConverterListener
- Handles converters.
- LocaleListener::onKernelRequest() — Method in class LocaleListener
- MiddlewareListener::onKernelRequest() — Method in class MiddlewareListener
- Runs before filters.
- MiddlewareListener::onKernelResponse() — Method in class MiddlewareListener
- Runs after filters.
- StringToResponseListener::onKernelView() — Method in class StringToResponseListener
- Handles string responses.
- ExceptionHandler::onSilexError() — Method in class ExceptionHandler
- SessionServiceProvider::onEarlyKernelRequest() — Method in class SessionServiceProvider
- SessionServiceProvider::onKernelRequest() — Method in class SessionServiceProvider
- SessionServiceProvider::onKernelResponse() — Method in class SessionServiceProvider
P
- Application::post() — Method in class Application
- Maps a POST request to a callable.
- Application::put() — Method in class Application
- Maps a PUT request to a callable.
- ControllerCollection::post() — Method in class ControllerCollection
- Maps a POST request to a callable.
- ControllerCollection::put() — Method in class ControllerCollection
- Maps a PUT request to a callable.
R
- Application::register() — Method in class Application
- Registers a service provider.
- Application::redirect() — Method in class Application
- Redirects the user to another URL.
- Application::run() — Method in class Application
- Handles the request and delivers the response.
- Controller::requireHttp() — Method in class Controller
- Controller::requireHttps() — Method in class Controller
- HttpCache::run() — Method in class HttpCache
- Handles the Request and delivers the Response.
- DoctrineServiceProvider::register() — Method in class DoctrineServiceProvider
- Registers services on the given app.
- FormServiceProvider::register() — Method in class FormServiceProvider
- Registers services on the given app.
- HttpCacheServiceProvider::register() — Method in class HttpCacheServiceProvider
- Registers services on the given app.
- MonologServiceProvider::register() — Method in class MonologServiceProvider
- Registers services on the given app.
- RememberMeServiceProvider — Class in namespace Silex\Provider
- Remember-me authentication for the SecurityServiceProvider
- RememberMeServiceProvider::register() — Method in class RememberMeServiceProvider
- Registers services on the given app.
- SecurityServiceProvider::register() — Method in class SecurityServiceProvider
- Registers services on the given app.
- SerializerServiceProvider::register() — Method in class SerializerServiceProvider
- Registers services on the given app.
- ServiceControllerServiceProvider::register() — Method in class ServiceControllerServiceProvider
- Registers services on the given app.
- SessionServiceProvider::register() — Method in class SessionServiceProvider
- Registers services on the given app.
- SwiftmailerServiceProvider::register() — Method in class SwiftmailerServiceProvider
- Registers services on the given app.
- TranslationServiceProvider::register() — Method in class TranslationServiceProvider
- Registers services on the given app.
- TwigCoreExtension::render() — Method in class TwigCoreExtension
- TwigServiceProvider::register() — Method in class TwigServiceProvider
- Registers services on the given app.
- UrlGeneratorServiceProvider::register() — Method in class UrlGeneratorServiceProvider
- Registers services on the given app.
- ValidatorServiceProvider::register() — Method in class ValidatorServiceProvider
- Registers services on the given app.
- RedirectableUrlMatcher — Class in namespace Silex
- Implements the RedirectableUrlMatcherInterface for Silex.
- RedirectableUrlMatcher::redirect() — Method in class RedirectableUrlMatcher
- Route — Class in namespace Silex
- A wrapper for a controller, mapped to a route.
- Route::requireHttp() — Method in class Route
- Sets the requirement of HTTP (no HTTPS) on this Route.
- Route::requireHttps() — Method in class Route
- Sets the requirement of HTTPS on this Route.
- ServiceProviderInterface::register() — Method in class ServiceProviderInterface
- Registers services on the given app.
S
- Application::stream() — Method in class Application
- Creates a streaming response.
- Application::sendFile() — Method in class Application
- Sends a file.
- StringToResponseListener — Class in namespace Silex\EventListener
- Converts string responses to proper Response instances.
- LazyUrlMatcher::setContext() — Method in class LazyUrlMatcher
- {@inheritdoc}
- SecurityServiceProvider — Class in namespace Silex\Provider
- Symfony Security component Provider.
- SerializerServiceProvider — Class in namespace Silex\Provider
- Symfony Serializer component Provider.
- ServiceControllerServiceProvider — Class in namespace Silex\Provider
- SessionServiceProvider — Class in namespace Silex\Provider
- Symfony HttpFoundation component Provider for sessions.
- SwiftmailerServiceProvider — Class in namespace Silex\Provider
- Swiftmailer Provider.
- ServiceControllerResolver — Class in namespace Silex
- Enables name_of_service:method_name syntax for declaring controllers.
- ServiceProviderInterface — Class in namespace Silex
- Interface that must implement all Silex service providers.
- Compiler::stripWhitespace() — Method in class Compiler
- Removes whitespace from a PHP source string while preserving line numbers.
- WebTestCase::setUp() — Method in class WebTestCase
- PHPUnit setUp for setting up the application.
T
- Application::terminate() — Method in class Application
- {@inheritdoc}
- TranslationServiceProvider — Class in namespace Silex\Provider
- Symfony Translation component Provider.
- TwigCoreExtension — Class in namespace Silex\Provider
- Twig extension.
- TwigServiceProvider — Class in namespace Silex\Provider
- Twig integration for Silex.
U
- UrlGeneratorServiceProvider — Class in namespace Silex\Provider
- Symfony Routing component Provider for URL generation.
V
- Controller::value() — Method in class Controller
- ValidatorServiceProvider — Class in namespace Silex\Provider
- Symfony Validator component Provider.
- Route::value() — Method in class Route
- Sets the default value for a route variable.
W
- WebTestCase — Class in namespace Silex
- WebTestCase is the base class for functional tests.
_
- Application::__construct() — Method in class Application
- Instantiate a new Application.
- ConstraintValidatorFactory::__construct() — Method in class ConstraintValidatorFactory
- Constructor
- Controller::__construct() — Method in class Controller
- Constructor.
- Controller::__call() — Method in class Controller
- ControllerCollection::__construct() — Method in class ControllerCollection
- Constructor.
- ControllerCollection::__call() — Method in class ControllerCollection
- ControllerResolver::__construct() — Method in class ControllerResolver
- Constructor.
- ConverterListener::__construct() — Method in class ConverterListener
- Constructor.
- LocaleListener::__construct() — Method in class LocaleListener
- MiddlewareListener::__construct() — Method in class MiddlewareListener
- Constructor.
- ExceptionHandler::__construct() — Method in class ExceptionHandler
- ExceptionListenerWrapper::__construct() — Method in class ExceptionListenerWrapper
- Constructor.
- ExceptionListenerWrapper::__invoke() — Method in class ExceptionListenerWrapper
- LazyUrlMatcher::__construct() — Method in class LazyUrlMatcher
- Route::__construct() — Method in class Route
- ServiceControllerResolver::__construct() — Method in class ServiceControllerResolver
- Constructor.