프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$extensions | array(string) | Whitelist of accepted file extensions. |
메소드 | 설명 | |
---|---|---|
__construct ( array $extensions ) | Constructs a new file extension filter instance with the given list of allowed file $extensions. | |
accept ( string $relative, string $absolute ) : boolean | Returns true if this filter accepts the given paths. |
public __construct ( array $extensions ) | ||
$extensions | array | List of allowed extension. |