RecursiveContextualValidator::getViolations()

ConstraintViolationListInterface getViolations() Returns the violations that have been generated so far in the context of the validator. Return Value ConstraintViolationListInterface The constraint violations

ResolvedFormTypeInterface::finishView()

finishView(FormView $view, FormInterface $form, array $options) Finishes a form view for the type hierarchy. It is called after the children of the view have been built. Parameters FormView $view The form view to configure FormInterface $form The form corresponding to the view array $options The options used for the configuration

StreamedResponse::setContent()

Response setContent(mixed $content) Sets the response content. Valid types are strings, numbers, null, and objects that implement a __toString() method. Parameters mixed $content Content that can be cast to string Return Value Response Exceptions UnexpectedValueException

MethodNotImplementedException

class MethodNotImplementedException extends NotImplementedException Constants INTL_INSTALL_MESSAGE Methods __construct(string $methodName) Constructor. Details __construct(string $methodName) Constructor. Parameters string $methodName The name of the method

HttpFoundationExtension::generateRelativePath()

string generateRelativePath(string $path) Returns a relative path based on the current Request. This method returns the path unchanged if no request is available. Parameters string $path The path Return Value string The relative path See also Request::getRelativeUriForPath()

HtmlExtension::translateHover()

XPathExpr translateHover(XPathExpr $xpath) Parameters XPathExpr $xpath Return Value XPathExpr

BundleCompilerInterface

interface BundleCompilerInterface Compiles a resource bundle. Methods compile(string $sourcePath, string $targetDir) Compiles a resource bundle at the given source to the given target directory. Details compile(string $sourcePath, string $targetDir) Compiles a resource bundle at the given source to the given target directory. Parameters string $sourcePath string $targetDir

CollectionToArrayTransformer::transform()

mixed transform(Collection $collection) Transforms a collection into an array. Parameters Collection $collection A collection of entities Return Value mixed The value in the transformed representation Exceptions TransformationFailedException

SymfonyStyle::error()

error(string|array $message) Formats an error result bar. Parameters string|array $message

AbstractNormalizer

class AbstractNormalizer extends SerializerAwareNormalizer implements NormalizerInterface, DenormalizerInterface, SerializerAwareInterface Normalizer implementation. Traits SerializerAwareTrait SerializerAware trait. Constants CIRCULAR_REFERENCE_LIMIT OBJECT_TO_POPULATE GROUPS Methods setSerializer(SerializerInterface $serializer) Sets the serializer. from SerializerAwareTrait __construct(ClassMetadataFactoryInterface $classMetadataFactory = null, NameConverterInt