프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$validExtensions | array | Valid file extensions for this loader |
메소드 | 설명 | |
---|---|---|
load ( string $resource, string | null $type = null ) : array | Load a JSON string/file | |
supports ( string $resource, string $type = null ) : boolean | Return whether or not the passed in resrouce is supported by this loader |
메소드 | 설명 | |
---|---|---|
isJson ( string $string ) : boolean | Determine whether a given string is supposed to be a Json string This is a very simplified validation to avoid calling json_decode (which is much more expensive). If the json is invalid, it will throw an exception when we actually load it. |
public static array $validExtensions | ||
리턴 | array |