LazyRecord\BaseModel::beforeCreate PHP Méthode

beforeCreate() public méthode

By overriding this method, you can modify the arguments that is passed to the query builder. Remember to return the arguments back.
public beforeCreate ( array $args ) : array
$args array Arguments
Résultat array $args Arguments
    public function beforeCreate($args)
    {
        return $args;
    }