프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$count | integer |
메소드 | 설명 | |
---|---|---|
count ( ) : integer | Counts total of available questions | |
getCategories ( $path ) : array | Get list of all categories | |
init ( integer $number, array $categories, $path ) : Certificationy\Certification\Set | Returns a new set of randomized questions |
메소드 | 설명 | |
---|---|---|
prepareFromYaml ( array $categories = [], $path ) : array | Prepares data from Yaml files and returns an array of questions |
public static getCategories ( $path ) : array | ||
리턴 | array |
protected static prepareFromYaml ( array $categories = [], $path ) : array | ||
$categories | array | : List of categories which should be included, empty array = all |
리턴 | array |