MappingRule::match()

null|FormInterface match(string $propertyPath) Matches a property path against the rule path. If the rule matches, the form mapped by the rule is returned. Otherwise this method returns false. Parameters string $propertyPath The property path to match against the rule Return Value null|FormInterface The mapped form or null

LogoutUrlExtension deprecated

class LogoutUrlExtension extends Twig_Extension deprecated since version 2.7, to be removed in 3.0. Use Symfony\Bridge\Twig\Extension\LogoutUrlExtension instead. LogoutUrlHelper provides generator functions for the logout URL to Twig. Methods __construct(LogoutUrlHelper $helper) getFunctions() {@inheritdoc} string getLogoutPath(string|null $key = null) Generates the relative logout URL for the firewall. string getLogoutUrl(string|null $key = null) Generates the absolu

MappingRule::isPrefix()

bool isPrefix(string $propertyPath) Matches a property path against a prefix of the rule path. Parameters string $propertyPath The property path to match against the rule Return Value bool Whether the property path is a prefix of the rule or not

PropertyTypeExtractorInterface

interface PropertyTypeExtractorInterface Type Extractor Interface. Methods Type[]|null getTypes(string $class, string $property, array $context = array()) Gets types of a property. Details Type[]|null getTypes(string $class, string $property, array $context = array()) Gets types of a property. Parameters string $class string $property array $context Return Value Type[]|null

SecurityDataCollector::collect()

collect(Request $request, Response $response, Exception $exception = null) Collects data for the given Request and Response. Parameters Request $request A Request instance Response $response A Response instance Exception $exception An Exception instance

Response::create()

static Response create(mixed $content = '', int $status = 200, array $headers = array()) Factory method for chainability. Example: return Response::create($body, 200) ->setSharedMaxAge(300); Parameters mixed $content The response content, see setContent() int $status The response status code array $headers An array of response headers Return Value Response

StopwatchEvent

class StopwatchEvent Represents an Event managed by Stopwatch. Methods __construct(float $origin, string|null $category = null) Constructor. string getCategory() Gets the category. float getOrigin() Gets the origin. StopwatchEvent start() Starts a new event period. StopwatchEvent stop() Stops the last started event period. bool isStarted() Checks if the event was started. StopwatchEvent lap() Stops the current period and then starts a new one. ensureSto

MutableAclInterface::insertClassFieldAce()

insertClassFieldAce(string $field, SecurityIdentityInterface $sid, int $mask, int $index, bool $granting = true, string $strategy = null) Inserts a class-field-based ACE Parameters string $field SecurityIdentityInterface $sid int $mask int $index bool $granting string $strategy

Route::setHost()

Route setHost(string $pattern) Sets the pattern for the host. This method implements a fluent interface. Parameters string $pattern The host pattern Return Value Route The current Route instance

HttpExceptionInterface

interface HttpExceptionInterface Interface for HTTP error exceptions. Methods int getStatusCode() Returns the status code. array getHeaders() Returns response headers. Details int getStatusCode() Returns the status code. Return Value int An HTTP response status code array getHeaders() Returns response headers. Return Value array Response headers