PHP code example of litphp / air
1. Go to this page and download the library: Download litphp/air 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/ */
litphp / air example snippets
Factory::of($container)->produce($className[, $extraParameters]);
Factory::of($container)->instantiate($className[, $extraParameters]); //this won't write $className to $container
Factory::of($container)->invoke($callback[, $extraParameters]);