src/Console/AdministratorCreateCommand.php
protected function prepareData($name, $email, $password)
    {
        $data = compact('name', 'email', 'password');

        if (app('scaffold.config')->get('manage_passwords')) {
            $data['password'] = $this->hasher->make($data['password']);
        }

        return $data;
    }
protected function prepareData($name, $email, $password)
    {
        $data = compact('name', 'email', 'password');

        if (app('scaffold.config')->get('manage_passwords')) {
            $data['password'] = $this->hasher->make($data['password']);
        }

        return $data;
    }
protected function prepareData ( $ name , $ email , $ password ) { $ data = compact ( 'name' , 'email' , 'password' ) ; if ( app ( 'scaffold.config' ) -> get ( 'manage_passwords' ) ) { $ data [ 'password' ] = $ this -> hasher -> make ( $ data [ 'password' ] ) ; } return $ data ; }
Prepare administrator's data.

@param $name
@param $email
@param $password

@return array
Prepare administrator s data .