Filesystem::chgrp()

chgrp(string|array|Traversable $files, string $group, bool $recursive = false) Change the group of an array of files or directories. Parameters string|array|Traversable $files A filename, an array of files, or a \Traversable instance to change group string $group The group name bool $recursive Whether change the group recursively or not Exceptions IOException When the change fail

Filesystem

class Filesystem Provides basic utility to manipulate the file system. Methods copy(string $originFile, string $targetFile, bool $overwriteNewerFiles = false) Copies a file. mkdir(string|array|Traversable $dirs, int $mode = 511) Creates a directory recursively. bool exists(string|array|Traversable $files) Checks the existence of files or directories. touch(string|array|Traversable $files, int $time = null, int $atime = null) Sets access and modification time of file.

FileStorage

class FileStorage extends Storage FileStorage represents a template stored on the filesystem. 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()

FilesLoader

class FilesLoader extends LoaderChain Base loader for loading validation metadata from a list of files. Methods __construct(array $paths) Creates a new loader. bool loadClassMetadata(ClassMetadata $metadata) Loads validation metadata into a {@link ClassMetadata} instance. from LoaderChain Details __construct(array $paths) Creates a new loader. Parameters array $paths An array of file paths bool loadClassMeta

FileResource::unserialize()

unserialize($serialized) Parameters $serialized

FileResource::serialize()

serialize()

FileResource::isFresh()

bool isFresh(int $timestamp) Returns true if the resource has not been updated since the given timestamp. Parameters int $timestamp The last time the resource was loaded Return Value bool True if the resource has not been updated, false otherwise

FileResource::getResource()

string getResource() Return Value string The canonicalized, absolute path to the resource

FileResource

class FileResource implements SelfCheckingResourceInterface, Serializable FileResource represents a resource stored on the filesystem. The resource can be a file or a directory. Methods __construct(string $resource) Constructor. string __toString() Returns a string representation of the Resource. string getResource() bool isFresh(int $timestamp) Returns true if the resource has not been updated since the given timestamp. serialize() unserialize($serialized)

FileProfilerStorage::write()

bool write(Profile $profile) Saves a Profile. Parameters Profile $profile A Profile instance Return Value bool Write operation successful