Свойство | Тип | Описание | |
---|---|---|---|
$app | Silex\Application | ||
$theApp | Silex\Application | ||
$urlPrefix | string |
Свойство | Тип | Описание | |
---|---|---|---|
$classLoader | Composer\Autoload\ClassLoader | null | ||
$pathManager | Eloquent\Pathogen\FileSystem\Factory\FileSystemPathFactory | ||
$paths | Eloquent\Pathogen\AbsolutePathInterface[] | ||
$request | string[] | ||
$requestObject | |||
$root | Eloquent\Pathogen\AbsolutePathInterface | ||
$urls | array | ||
$verifier | LowLevelChecks | null |
Метод | Описание | |
---|---|---|
__construct ( ArrayAccess $container ) | Constructor initialises on the app root path. | |
findRelativePath ( string $frompath, string $topath ) : string | Find the relative file system path between two file system paths. | |
getApp ( ) : Silex\Application | Get the Bolt\Application object. | |
getClassLoader ( ) : Composer\Autoload\ClassLoader | Get the Composer autoload ClassLoader. | |
getPath ( string $name ) : string | Gets a path as a string. | |
getPathObject ( string $name ) : Eloquent\Pathogen\AbsolutePathInterface | Gets a path as a PathInterface. | |
getPaths ( ) : |
Just don't use this. | |
getRequest ( string $name ) : string | Get a request parameter. | |
getUrl ( string $name, boolean $includeBasePath = true ) : string | Get a URL path definition. | |
getVerifier ( ) : Bolt\Configuration\Validation\ValidatorInterface | Get the LowlevelChecks object. | |
hasPath ( string $name ) : boolean | Checks if the given name has a path associated with it | |
initialize ( ) | ||
initializeConfig ( array $config ) | Takes a loaded config array and uses it to initialize settings that depend on it. | |
initializeRequest ( Silex\Application $app, |
Takes a Request object and uses it to initialize settings that depend on the request. | |
postInitialize ( ) | ||
setApp ( Silex\Application $app ) | Don't use! | |
setPath ( string $name, string $value ) : Eloquent\Pathogen\RelativePathInterface | Eloquent\Pathogen\AbsolutePathInterface | Set a resource path. | |
setRequest ( string $name, string $value ) | Set a parameter that describes the request. | |
setThemePath ( array $generalConfig ) | This currently gets special treatment because of the processing order. | |
setUrl ( string $name, string $value ) | Set a URL path definition. | |
setVerifier ( Bolt\Configuration\Validation\ValidatorInterface | null $verifier ) | Set the LowlevelChecks object. | |
useLoader ( Composer\Autoload\ClassLoader $loader ) : Eloquent\Pathogen\RelativePathInterface | Eloquent\Pathogen\AbsolutePathInterface | ||
verify ( ) | ||
verifyDb ( ) |
public __construct ( ArrayAccess $container ) | ||
$container | ArrayAccess | ArrayAccess compatible DI container that must contain one of: 'classloader' of instance a ClassLoader will use introspection to find root path or 'rootpath' will be treated as an existing directory as string. Optional ones: 'request' - Symfony\Component\HttpFoundation\Request |
public static getApp ( ) : Silex\Application | ||
Результат | Silex\Application |
public getClassLoader ( ) : Composer\Autoload\ClassLoader | ||
Результат | Composer\Autoload\ClassLoader |
public getPathObject ( string $name ) : Eloquent\Pathogen\AbsolutePathInterface | ||
$name | string | Name of path |
Результат | Eloquent\Pathogen\AbsolutePathInterface |
public getPaths ( ) : |
||
Результат |
public getRequest ( string $name ) : string | ||
$name | string | |
Результат | string |
public getVerifier ( ) : Bolt\Configuration\Validation\ValidatorInterface | ||
Результат | Bolt\Configuration\Validation\ValidatorInterface |
public initializeConfig ( array $config ) | ||
$config | array |
public initializeRequest ( Silex\Application $app, |
||
$app | Silex\Application | |
$request |
public setRequest ( string $name, string $value ) | ||
$name | string | |
$value | string |
public setThemePath ( array $generalConfig ) | ||
$generalConfig | array |
public setVerifier ( Bolt\Configuration\Validation\ValidatorInterface | null $verifier ) | ||
$verifier | Bolt\Configuration\Validation\ValidatorInterface | null |
public useLoader ( Composer\Autoload\ClassLoader $loader ) : Eloquent\Pathogen\RelativePathInterface | Eloquent\Pathogen\AbsolutePathInterface | ||
$loader | Composer\Autoload\ClassLoader | |
Результат | Eloquent\Pathogen\RelativePathInterface | Eloquent\Pathogen\AbsolutePathInterface |
protected ClassLoader,Composer\Autoload|null $classLoader | ||
Результат | Composer\Autoload\ClassLoader | null |
protected FileSystemPathFactory,Eloquent\Pathogen\FileSystem\Factory $pathManager | ||
Результат | Eloquent\Pathogen\FileSystem\Factory\FileSystemPathFactory |
protected AbsolutePathInterface[],Eloquent\Pathogen $paths | ||
Результат | Eloquent\Pathogen\AbsolutePathInterface[] |
protected Request,Symfony\Component\HttpFoundation $requestObject | ||
Результат |
protected AbsolutePathInterface,Eloquent\Pathogen $root | ||
Результат | Eloquent\Pathogen\AbsolutePathInterface |
public static Application,Silex $theApp | ||
Результат | Silex\Application |
protected LowLevelChecks|null $verifier | ||
Результат | LowLevelChecks | null |