src/Consoles/BaseCommand.php
protected function replaceStubString($className, $namespace)
    {
        return array_merge([
            'VENDOR_NAME_LOWER'  => strtolower($this->vendor),
            'VENDOR_NAME'        => studly_case($this->vendor),
            'PACKAGE_NAME_LOWER' => strtolower($this->package),
            'PACKAGE_NAME'       => studly_case($this->package),
            'DummyClass'         => studly_case($className),
            'DummyTarget'        => strtolower($className),
            'DummyNamespace'     => $this->namespace . $namespace,
            'DummyRootNamespace' => $this->laravel->getNamespace(),
        ], $this->config->get('tie.stubs.replace'));
    }
protected function replaceStubString($className, $namespace)
    {
        return array_merge([
            'VENDOR_NAME_LOWER'  => strtolower($this->vendor),
            'VENDOR_NAME'        => studly_case($this->vendor),
            'PACKAGE_NAME_LOWER' => strtolower($this->package),
            'PACKAGE_NAME'       => studly_case($this->package),
            'DummyClass'         => studly_case($className),
            'DummyTarget'        => strtolower($className),
            'DummyNamespace'     => $this->namespace . $namespace,
            'DummyRootNamespace' => $this->laravel->getNamespace(),
        ], $this->config->get('tie.stubs.replace'));
    }
protected function replaceStubString ( $ className , $ namespace ) { return array_merge ( [ 'VENDOR_NAME_LOWER' => strtolower ( $ this -> vendor ) , 'VENDOR_NAME' => studly_case ( $ this -> vendor ) , 'PACKAGE_NAME_LOWER' => strtolower ( $ this -> package ) , 'PACKAGE_NAME' => studly_case ( $ this -> package ) , 'DummyClass' => studly_case ( $ className ) , 'DummyTarget' => strtolower ( $ className ) , 'DummyNamespace' => $ this -> namespace . $ namespace , 'DummyRootNamespace' => $ this -> laravel -> getNamespace ( ) , ] , $ this -> config -> get ( 'tie.stubs.replace' ) ) ; }
Replace dummy name to real name

@param $className
@param $namespace
@return array
Replace dummy name to real name