Filesystem::chmod()

chmod(string|array|Traversable $files, int $mode, int $umask, bool $recursive = false) Change mode for an array of files or directories. Parameters string|array|Traversable $files A filename, an array of files, or a \Traversable instance to change mode int $mode The new mode (octal) int $umask The mode mask (octal) bool $recursive Whether change the mod recursively or not Exceptions IOException When the change fail

StreamedResponse::sendHeaders()

Response sendHeaders() Sends HTTP headers. Return Value Response

InputOption::isValueOptional()

bool isValueOptional() Returns true if the option takes an optional value. Return Value bool true if value mode is self::VALUE_OPTIONAL, false otherwise

Expression::getType()

int getType() Return Value int

Filesystem::symlink()

symlink(string $originDir, string $targetDir, bool $copyOnWindows = false) Creates a symbolic link or copy a directory. Parameters string $originDir The origin directory path string $targetDir The symbolic link name bool $copyOnWindows Whether to copy files if on Windows Exceptions IOException When symlink fails

Packages::getVersion()

string getVersion(string $path, string $packageName = null) Gets the version to add to public URL. Parameters string $path A public path string $packageName A package name Return Value string The current version

Form::offsetUnset()

offsetUnset(string $name) Removes a field from the form. Parameters string $name The field name

RememberMeFactory::getPosition()

string getPosition() Defines the position at which the provider is called. Possible values: preauth, form, http, and rememberme. Return Value string

Definition::replaceArgument()

Definition replaceArgument(int $index, mixed $argument) Sets a specific argument. Parameters int $index mixed $argument Return Value Definition The current instance Exceptions OutOfBoundsException When the replaced argument does not exist

FormThemeTokenParser::parse()

Twig_Node parse(Twig_Token $token) Parses a token and returns a node. Parameters Twig_Token $token A Twig_Token instance Return Value Twig_Node A Twig_Node instance