Bolt\Filesystem\FilePermissions::__construct PHP Method

__construct() public method

Constructor, initialize filters rules.
public __construct ( Config $config )
$config Bolt\Config
    public function __construct(Config $config)
    {
        $this->config = $config;
        $this->allowedPrefixes = ['config', 'files', 'theme', 'themes'];
        $this->blocked = ['#.php$#', '#\\.htaccess#', '#\\.htpasswd#'];
    }