src/FactoryBuilder.php
/**
     * Create a collection of models and persist them to the database.
     *
     * @param  array  $attributes
     * @return mixed
     */
Create a collection of models and persist them to the database.
@param  array  $attributes
@return mixed
Create a collection of models and persist them to the database . @param array $attributes @return mixed
public function create(array $attributes = [])
    {
        $results = $this->make($attributes);
        $this->getMapper()->store($results);
        return $results;
    }
public function create ( array $ attributes = [ ] ) { $ results = $ this -> make ( $ attributes ) ; $ this -> getMapper ( ) -> store ( $ results ) ; return $ results ; }
Create a collection of models and persist them to the database.
Create a collection of models and persist them to the database .