PHP code example of conectra / expressive
1. Go to this page and download the library: Download conectra/expressive 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/ */
conectra / expressive example snippets
use Solis\Expressive\Classes\Illuminate\Expressive;
use Solis\Expressive\Magic\Concerns\HasMagic;
class Pessoa extends Expressive
{
use HasMagic;
protected $ID;
protected $nome;
protected $inscricaoFederal;
protected $tipo;
protected $situacao;
/**
* Pessoa constructor.
*/
public function __construct()
{
parent::__construct();
$this->start(dirname(__FILE__) . '/Pessoa.json');
}
}
$result = (new Pessoa())->select();
//$result = Pessoa::make([])->select($arguments = [], $options = []);