Method | Description | |
---|---|---|
__construct ( SplFileInfo $file ) | Stores the file object. | |
create ( SplFileInfo $file ) : static | Creates a new object instance. | |
grantsAccess ( ) : boolean | Checks whether the .htaccess file grants access via HTTP. |
Method | Description | |
---|---|---|
hasRequireGranted ( string $line ) : boolean | Scans a line for an access definition. | |
isComment ( string $line ) : boolean | Checks whether a line is a comment. |
public __construct ( SplFileInfo $file ) | ||
$file | SplFileInfo |
public static create ( SplFileInfo $file ) : static | ||
$file | SplFileInfo | |
return | static |
public grantsAccess ( ) : boolean | ||
return | boolean |