This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2021-08-19 14:32:22 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions | |
2021-08-19 14:32:22 0 [Note] InnoDB: Uses event mutexes | |
2021-08-19 14:32:22 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 | |
2021-08-19 14:32:22 0 [Note] InnoDB: Number of pools: 1 | |
2021-08-19 14:32:22 0 [Note] InnoDB: Using SSE2 crc32 instructions | |
2021-08-19 14:32:22 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M | |
2021-08-19 14:32:22 0 [Note] InnoDB: Completed initialization of buffer pool | |
2021-08-19 14:32:22 0 [Note] InnoDB: Starting crash recovery from checkpoint LSN=300288 | |
2021-08-19 14:32:22 0 [Note] InnoDB: 128 out of 128 rollback segments are active. | |
2021-08-19 14:32:22 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Humm, I am curious |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The generator does not perform any authentication, so you must ensure that all referenced Hydra paths for your API are accessible anonymously. If you are using API Platform this will at least include: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I've been experimenting more and more with DeepL and I must say, I like it most of the time. It's quite robust. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
QPJZ3O2SYRSCMFL3364FH64IJ5IX6NXBFDKVXTR2NQWMYZVR4KQQ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function pagination(int $totalResults, int $activePage, int $resultsPerPage = 12, int $maxPage = 5):stdClass { | |
// return için hazırlık yapıyoruz | |
$return = new stdClass(); | |
$return->totalResults = $totalResults; | |
$return->activePage = $activePage; | |
$return->resultsPerPage = $resultsPerPage; | |
// Toplam sayfa sayısını hesaplıyoruz, ve küsüratlı olması durumunda yukarı yuvarlıyoruz | |
$return->numberOfPages = (int)ceil($totalResults / $resultsPerPage); |