PHP Class Bolt\Filesystem\Plugin\Authorized

Inheritance: extends Bolt\Filesystem\Plugin\AdapterPlugin
Show file Open project: bolt/bolt

Protected Properties

Property Type Description
$filePermissions Bolt\Filesystem\FilePermissions

Public Methods

Method Description
__construct ( FilePermissions $filePermissions ) Constructor.
getMethod ( )
handle ( string $path ) : boolean Returns whether you are authorized to do something with a file or directory.

Method Details

__construct() public method

Constructor.
public __construct ( FilePermissions $filePermissions )
$filePermissions Bolt\Filesystem\FilePermissions

getMethod() public method

public getMethod ( )

handle() public method

Returns whether you are authorized to do something with a file or directory.
public handle ( string $path ) : boolean
$path string
return boolean

Property Details

$filePermissions protected property

protected FilePermissions,Bolt\Filesystem $filePermissions
return Bolt\Filesystem\FilePermissions