FOF30\Model\DataModel::create PHP Méthode

create() public méthode

Create a new record with the provided data
public create ( array $data ) : static
$data array The data to use in the new record
Résultat static Self, for chaining
    public function create($data)
    {
        return $this->reset()->bind($data)->save();
    }