PHP 클래스 Contao\CoreBundle\Analyzer\HtaccessAnalyzer

파일 보기 프로젝트 열기: contao/core-bundle 1 사용 예제들

공개 메소드들

메소드 설명
__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.

비공개 메소드들

메소드 설명
hasRequireGranted ( string $line ) : boolean Scans a line for an access definition.
isComment ( string $line ) : boolean Checks whether a line is a comment.

메소드 상세

__construct() 공개 메소드

Stores the file object.
public __construct ( SplFileInfo $file )
$file SplFileInfo

create() 공개 정적인 메소드

Creates a new object instance.
public static create ( SplFileInfo $file ) : static
$file SplFileInfo
리턴 static

grantsAccess() 공개 메소드

Checks whether the .htaccess file grants access via HTTP.
public grantsAccess ( ) : boolean
리턴 boolean