PHP code example of letkode / entity-traits-bundle
1. Go to this page and download the library: Download letkode/entity-traits-bundle 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/ */
// Returned by BaseRepositoryTrait::paginate()
$result->data; // array of entities
$result->total; // int
$result->page; // int
$result->perPage; // int
$result->totalPages; // int (computed)