app/Base/Console/Commands/PolicyMakeCommand.php
/**
     * Build the class with the given name.
     *
     * @param  string $name
     * @return string
     */
Build the class with the given name.
@param  string $name
@return string
Build the class with the given name . @param string $name @return string
protected function buildClass($name)
    {
        $stub = $this->replaceUserNamespace(
            parent::buildClass($name)
        );
        $model = $this->option('model');
        return $model ? $this->replaceModel($stub, $model) : $stub;
    }
protected function buildClass ( $ name ) { $ stub = $ this -> replaceUserNamespace ( parent :: buildClass ( $ name ) ) ; $ model = $ this -> option ( 'model' ) ; return $ model ? $ this -> replaceModel ( $ stub , $ model ) : $ stub ; }
Build the class with the given name.
Build the class with the given name .