StringUtil deprecated

class StringUtil deprecated Deprecated since version 3.1, to be removed in 4.0. Use {@see Symfony\Component\Inflector\Inflector} instead. Creates singulars from plurals. Methods static string|array singularify(string $plural) deprecated Returns the singular form of a word. Details static string|array singularify(string $plural) deprecated deprecated Deprecated since version 3.1, to be removed in 4.0. Use {@see Symfony\Component\Inflector\Inf

StringUtil

class StringUtil Methods static string trim(string $string) Returns the trimmed data. static string|null fqcnToBlockPrefix(string $fqcn) Converts a fully-qualified class name to a block prefix. Details static string trim(string $string) Returns the trimmed data. Parameters string $string Return Value string static string|null fqcnToBlockPrefix(string $fqcn) Converts a fully-qualified class name to

StringStorage

class StringStorage extends Storage StringStorage represents a template stored in a string. Methods __construct(string $template) Constructor. from Storage string __toString() Returns the object string representation. from Storage string getContent() Returns the content of the template. Details __construct(string $template) Constructor. Parameters string $template The template name string __toString()

StringInput

class StringInput extends ArgvInput StringInput represents an input provided as a string. Usage: $input = new StringInput('foo --bar="foobar"'); Constants REGEX_STRING REGEX_QUOTED_STRING Methods __construct(string $input) Constructor. bind(InputDefinition $definition) Binds the current Input instance with the given arguments and options. from Input validate() Validates if arguments given are correct. from Input bool isInteractive() Is this input means interactive

StringHandler

class StringHandler implements HandlerInterface CSS selector comment handler. This component is a port of the Python cssselect library, which is copyright Ian Bicking, see https://github.com/SimonSapin/cssselect. Methods __construct(TokenizerPatterns $patterns, TokenizerEscaping $escaping) bool handle(Reader $reader, TokenStream $stream) Details __construct(TokenizerPatterns $patterns, TokenizerEscaping $escaping) Parameters TokenizerPa

StringCastException

class StringCastException extends RuntimeException

StreamOutput

class StreamOutput extends Output StreamOutput writes the output to a given stream. Usage: $output = new StreamOutput(fopen('php://stdout', 'w')); As StreamOutput can use any stream, you can also use a file: $output = new StreamOutput(fopen('/path/to/output.log', 'a', false)); Methods __construct(resource $stream, int $verbosity = self::VERBOSITY_NORMAL, bool $decorated = null, OutputFormatterInterface $formatter = null) Constructor. setFormatter(OutputFormatterInterface $formatter)

StreamingEngineInterface

interface StreamingEngineInterface StreamingEngineInterface provides a method that knows how to stream a template. Methods stream(string|TemplateReferenceInterface $name, array $parameters = array()) Streams a template. Details stream(string|TemplateReferenceInterface $name, array $parameters = array()) Streams a template. The implementation should output the content directly to the client. Parameters string|TemplateReferenceInterface $name

StreamedResponseListener::onKernelResponse()

onKernelResponse(FilterResponseEvent $event) Filters the Response. Parameters FilterResponseEvent $event A FilterResponseEvent instance

StreamedResponseListener::getSubscribedEvents()

static array getSubscribedEvents() Returns an array of event names this subscriber wants to listen to. The array keys are event names and the value can be: The method name to call (priority defaults to 0) An array composed of the method name to call and the priority An array of arrays composed of the method names to call and respective priorities, or 0 if unset For instance: array('eventName' => 'methodName') array('eventName' => array('methodName', $priority)) a