LazyRecord\BaseModel::beforeCreate PHP Метод

beforeCreate() публичный Метод

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
Результат array $args Arguments
    public function beforeCreate($args)
    {
        return $args;
    }