프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$factoryList | SplPriorityQueue | The list containing the possible factories |
메소드 | 설명 | |
---|---|---|
__construct ( ) | Creates a new factory resolver | |
addFactory ( TQ\Vcs\StreamWrapper\FileBuffer\FactoryInterface $factory, integer $priority = 10 ) : |
Adds a factory to the list of possible factories | |
canHandle ( TQ\Vcs\StreamWrapper\PathInformationInterface $path, string $mode ) : boolean | Returns true if this factory can handle the requested path | |
createFileBuffer ( TQ\Vcs\StreamWrapper\PathInformationInterface $path, string $mode ) : TQ\Vcs\Buffer\FileBufferInterface | Returns the file stream to handle the requested path | |
findFactory ( TQ\Vcs\StreamWrapper\PathInformationInterface $path, string $mode ) : |
Returns the file stream factory to handle the requested path | |
getDefault ( ) : |
Returns a default factory |
public addFactory ( TQ\Vcs\StreamWrapper\FileBuffer\FactoryInterface $factory, integer $priority = 10 ) : |
||
$factory | TQ\Vcs\StreamWrapper\FileBuffer\FactoryInterface | The factory to add |
$priority | integer | The priority |
리턴 | The factory |
public createFileBuffer ( TQ\Vcs\StreamWrapper\PathInformationInterface $path, string $mode ) : TQ\Vcs\Buffer\FileBufferInterface | ||
$path | TQ\Vcs\StreamWrapper\PathInformationInterface | The path information |
$mode | string | The mode used to open the path |
리턴 | TQ\Vcs\Buffer\FileBufferInterface | The file buffer to handle the path |
public findFactory ( TQ\Vcs\StreamWrapper\PathInformationInterface $path, string $mode ) : |
||
$path | TQ\Vcs\StreamWrapper\PathInformationInterface | The path information |
$mode | string | The mode used to open the path |
리턴 | The file buffer factory to handle the path |
public static getDefault ( ) : |
||
리턴 |