parseFile() публичный статический Метод

Returns the ini file as an array.
public static parseFile ( string $ini ) : array
$ini string Full path to the ini file
Результат array List
Пример #1
0
 /**
  * Returns the acl.ini file(s) as an array.
  *
  * @param array|string|null $paths Paths to look for INI file
  * @param string $file Full path to the INI file
  * @return array List with all available roles
  */
 protected function _parseFiles($paths, $file)
 {
     if ($paths === null) {
         $paths = ROOT . DS . 'config' . DS;
     }
     $list = [];
     foreach ((array) $paths as $path) {
         $list += Utility::parseFile($path . $file);
     }
     return $list;
 }