PHP code example of crosseno / learning
1. Go to this page and download the library: Download crosseno/learning library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
crosseno / learning example snippets
use Crosseno\Learning\Model\CoverageQuery;
$manifest = $learningPack->manifest();
$query = new CoverageQuery(
$manifest->languages,
$proficiency,
maximumResults: 10_000,
);
$mask = $learningPack->coverageIndex()->query($query);
$mask->assertCompatible($answerPack->manifest());
$eligibleClues = $learningPack->catalog()->eligible($query);