public function create($params)
    {
        $client = new Client;
        $client->fill($params);
        $client->save();

        // update datacite_symbol
        $this->generateDataciteSymbol($client);

        return $client;
    }
public function create($params)
    {
        $client = new Client;
        $client->fill($params);
        $client->save();

        // update datacite_symbol
        $this->generateDataciteSymbol($client);

        return $client;
    }
public function create ( $ params ) { $ client = new Client ; $ client -> fill ( $ params ) ; $ client -> save ( ) ; // update datacite_symbol $ this -> generateDataciteSymbol ( $ client ) ; return $ client ; }
Create a client

@param $params
@return Client
Create a client