<?php

namespace R\Hive\Commands;

use Illuminate\Console\GeneratorCommand;

class MakeValidatorCommand extends GeneratorCommand
{
    protected function getPath($name)
    {
        $name = str_replace($this->laravel->getNamespace(), '', $name);

        // Add the class type to the file name.
        return $this->laravel['path'].'/'.str_replace('\\', '/', $name).$this->type.'.php';
    }
}

<?php

namespace R\Hive\Commands;

use Illuminate\Console\GeneratorCommand;

class HiveGeneratorCommand extends GeneratorCommand
{
    protected function getPath($name)
    {
        $name = str_replace($this->laravel->getNamespace(), '', $name);

        // Add the class type to the file name.
        return $this->laravel['path'].'/'.str_replace('\\', '/', $name).$this->type.'.php';
    }

    protected function getStub()
    {
        return;
    }
}

Fix invalid class name, and implement abstract method.
Fix invalid class name, and implement abstract method.
