PHP code example of polymorphine / dev
1. Go to this page and download the library: Download polymorphine/dev 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/ */
polymorphine / dev example snippets
/**
* @param callable(int, Foo\Bar): list<string> $callback Required argument tag
*
* @return array<string, Closure(string): ReturnType> Associative map of callables
*/
public function callbackMap(int $value, callable $callback, Foo\Bar $bar): array
bash
composer test-php