Nelmio\Alice\Parser\FilesReference::__construct PHP Method

__construct() public method

public __construct ( )
    public function __construct()
    {
        /*
         * The format is as follows:
         * - first key is the group name
         * - keys within the group name are the element description
         * - the first element is the tested file name
         * - the second element is an array of parser class supporting this file
         */
        self::$references = ['php' => ['regular PHP file' => ['dummy.php', [PhpParser::class]], 'PHP file with uppercase extension' => ['dummy.PHP', [PhpParser::class]], 'regular PHP4 file' => ['dummy.php4', []], 'regular PHP5 file' => ['dummy.php5', []], 'regular PHP7 file' => ['dummy.php7', [PhpParser::class]], 'phpfied YAML file' => ['dummy.yml.php', [PhpParser::class]], 'remote php file with HTTP' => ['http://example.com/dummy.php', []], 'remote php file with HTTPS' => ['https://example.com/dummy.php', []], 'remote php file with FTP' => ['ftp://user:[email protected]/dummy.php', []], 'remote php file with FTPS' => ['ftps://user:[email protected]/dummy.php', []]], 'yaml' => ['regular YAML file' => ['dummy.yml', [YamlParser::class]], 'regular YAML file with alternative extension' => ['dummy.yaml', [YamlParser::class]], 'regular YAML file with uppercase extension' => ['dummy.YML', [YamlParser::class]], 'regular YAML file with alternative extension in uppercase' => ['dummy.YAML', [YamlParser::class]], 'remote YAML file with HTTP' => ['http://example.com/dummy.yml', []], 'remote YAML file with HTTPS' => ['https://example.com/dummy.yml', []], 'remote YAML file with FTP' => ['ftp://user:[email protected]/dummy.yml', []], 'remote YAML file with FTPS' => ['ftps://user:[email protected]/dummy.yml', []]], 'unsupported' => ['XML file' => ['dummy.xml'], 'CSV file' => ['dummy.csv']]];
    }