PHP code example of limboniatech / limbonia-loader
1. Go to this page and download the library: Download limboniatech/limbonia-loader 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/ */
limboniatech / limbonia-loader example snippets
namespace Limbonia;
class Sample
{
use \Limbonia\Traits\DriverList;
}
namespace Limbonia\Sample;
class Foo extends \Limbonia\Sample
{
}
namespace Limbonia\Sample;
class Bar extends \Limbonia\Sample
{
}
namespace Limbonia\Sample;
class Baz extends \Limbonia\Sample
{
}
namespace Limbonia\Test;
use \Limbonia\Sample;
print_r(Sample::driverList());
$sSampleFooDriverClass = Sample::driverClass('foo);
$oSample = new $sSampleFooDriverClass;
echo $oSample->getType() . "\n";
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.