Extends
lithium\core\StaticObjectSource
public static function find($type = 'first') {
if (empty(static::$_tells)) {
if (!file_exists(static::$path)) {
return array();
}
static::$_tells = parse_ini_file(static::$path);
}
if ($type === 'all') {
return static::$_tells;
}
if ($type === 'first') {
return current(static::$_tells);
}
if (isset(static::$_tells[$type])) {
return static::$_tells[$type];
}
}