UploadedFile::getClientMimeType()

string|null getClientMimeType() Returns the file mime type. The client mime type is extracted from the request from which the file was uploaded, so it should not be considered as a safe value. For a trusted mime type, use getMimeType() instead (which guesses the mime type based on the file content). Return Value string|null The mime type See also getMimeType()

UploadedFile

class UploadedFile extends File A file uploaded through a form. Methods __construct(string $path, string $originalName, string|null $mimeType = null, int|null $size = null, int|null $error = null, bool $test = false) Accepts the information of the uploaded file as provided by the PHP global $_FILES. string|null guessExtension() Returns the extension based on the mime type. from File string|null getMimeType() Returns the mime type of the file. from File File move(string $dire

UnusedTagsPass

class UnusedTagsPass implements CompilerPassInterface Find all service tags which are defined, but not used and yield a warning log message. Methods process(ContainerBuilder $container) You can modify the container here before it is dumped to PHP code. Details process(ContainerBuilder $container) You can modify the container here before it is dumped to PHP code. Parameters ContainerBuilder $container

UnsupportedUserException

class UnsupportedUserException extends AuthenticationServiceException This exception is thrown when an account is reloaded from a provider which doesn't support the passed implementation of UserInterface. Methods TokenInterface getToken() Get the token. from AuthenticationException setToken(TokenInterface $token) Set the token. from AuthenticationException serialize() from AuthenticationException unserialize($str) from AuthenticationException string getMessageKey() Mess

UnsupportedMetadataException

class UnsupportedMetadataException extends InvalidArgumentException

UnsupportedMediaTypeHttpException

class UnsupportedMediaTypeHttpException extends HttpException UnsupportedMediaTypeHttpException. Methods __construct($message = null, Exception $previous = null, $code) Constructor. int getStatusCode() Returns the status code. from HttpException array getHeaders() Returns response headers. from HttpException Details __construct($message = null, Exception $previous = null, $code) Constructor. Parameters $message Exception $previous

UnsupportedException

class UnsupportedException extends InvalidArgumentException UnsupportedException.

UnsetKeyException

class UnsetKeyException extends Exception This exception is usually not encountered by the end-user, but only used internally to signal the parent scope to unset a key.

UnprocessableEntityHttpException

class UnprocessableEntityHttpException extends HttpException UnprocessableEntityHttpException. Methods __construct($message = null, Exception $previous = null, $code) Constructor. int getStatusCode() Returns the status code. from HttpException array getHeaders() Returns response headers. from HttpException Details __construct($message = null, Exception $previous = null, $code) Constructor. Parameters $message Exception $previous

UnixPipes::readAndWrite()

string[] readAndWrite(bool $blocking, bool $close = false) Reads data in file handles and pipes. Parameters bool $blocking Whether to use blocking calls or not bool $close Whether to close pipes if they've reached EOF Return Value string[] An array of read data indexed by their fd