FilePathsIterator deprecated::current()

SplFileInfo current() Return an instance of SplFileInfo with support for relative paths. Return Value SplFileInfo File information

FileNotFoundException

class FileNotFoundException extends IOException Exception class thrown when a file couldn't be found. Methods __construct($message = null, $code, Exception $previous = null, $path = null) string getPath() Returns the associated path for the exception. from IOException Details __construct($message = null, $code, Exception $previous = null, $path = null) Parameters $message $code Exception $previous $path st

FilePathsIterator deprecated

class FilePathsIterator extends ArrayIterator deprecated since 2.8, to be removed in 3.0. Iterate over shell command result. Methods __construct(array $paths, string $baseDir) mixed __call(string $name, array $arguments) SplFileInfo current() Return an instance of SplFileInfo with support for relative paths. string key() next() rewind() string getSubPath() string getSubPathname() Details __construct(array $pat

FileNotFoundException

class FileNotFoundException extends FileException Thrown when a file was not found. Methods __construct(string $path) Constructor. Details __construct(string $path) Constructor. Parameters string $path The path to the file that was not found

FileLocator

class FileLocator implements FileLocatorInterface FileLocator uses an array of pre-defined paths to find files. Methods __construct(string|array $paths = array()) Constructor. string|array locate(string $name, string|null $currentPath = null, bool $first = true) Returns a full path for a given file name. Details __construct(string|array $paths = array()) Constructor. Parameters string|array $paths A path or an array of paths where to lo

FileLoaderImportCircularReferenceException

class FileLoaderImportCircularReferenceException extends FileLoaderLoadException Exception class for when a circular reference is detected when importing resources. Methods __construct(array $resources, int $code = null, Exception $previous = null) Details __construct(array $resources, int $code = null, Exception $previous = null) Parameters array $resources int $code The error code Exception $previous A previous exception

FileLocator

class FileLocator extends FileLocator FileLocator uses the KernelInterface to locate resources in bundles. Methods __construct(KernelInterface $kernel, null|string $path = null, string|array $paths = array()) Constructor. string|array locate($file, string|null $currentPath = null, bool $first = true) Returns a full path for a given file name. Details __construct(KernelInterface $kernel, null|string $path = null, string|array $paths = array())

FileLoaderLoadException

class FileLoaderLoadException extends Exception Exception class for when a resource cannot be loaded or imported. Methods __construct(string $resource, string $sourceResource = null, int $code = null, Exception $previous = null) Details __construct(string $resource, string $sourceResource = null, int $code = null, Exception $previous = null) Parameters string $resource The resource that could not be imported string $sourceResource The origina

FileLocatorInterface

interface FileLocatorInterface Methods string|array locate(string $name, string|null $currentPath = null, bool $first = true) Returns a full path for a given file name. Details string|array locate(string $name, string|null $currentPath = null, bool $first = true) Returns a full path for a given file name. Parameters string $name The file name to locate string|null $currentPath The current path bool $first Whether to return the first occurrence

FileLoader

class FileLoader extends FileLoader FileLoader is the abstract class used by all built-in loaders that are file based. Methods LoaderResolverInterface getResolver() Gets the loader resolver. from Loader setResolver(LoaderResolverInterface $resolver) Sets the loader resolver. from Loader mixed import(mixed $resource, string|null $type = null, bool $ignoreErrors = false, string|null $sourceResource = null) Imports a resource. from FileLoader LoaderInterface resolve(mixed $resou