public function create($customAttributes = [])
    {
        if (is_string($customAttributes)) {
            return $this->populator->create(...func_get_args());
        }

        return $this->make($customAttributes, true);
    }
public function create($customAttributes = [])
    {
        if (is_string($customAttributes)) {
            return $this->populator->create(...func_get_args());
        }

        return $this->make($customAttributes, true);
    }
public function create ( $ customAttributes = [ ] ) { if ( is_string ( $ customAttributes ) ) { return $ this -> populator -> create ( ... func_get_args ( ) ) ; } return $ this -> make ( $ customAttributes , true ) ; }
Create an instance of the given model and persist it to the database.

@param  array $customAttributes Custom attributes that will override the guessed formatters.
@return Model|Collection
Create an instance of the given model and persist it to the database .