protected function getOptionStubKey()
    {
        $plain = $this->option('plain');
        $stub = $this->option('stub') . ($plain ? '_plain' : '') . '_stub';

        // if no stub, we assume its the same as the type
        if (is_null($this->option('stub'))) {
            $stub = $this->option('type') . ($plain ? '_plain' : '') . '_stub';
        }

        return $stub;
    }
protected function getOptionStubKey()
    {
        $plain = $this->option('plain');
        $stub = $this->option('stub') . ($plain ? '_plain' : '') . '_stub';

        // if no stub, we assume its the same as the type
        if (is_null($this->option('stub'))) {
            $stub = $this->option('type') . ($plain ? '_plain' : '') . '_stub';
        }

        return $stub;
    }
protected function getOptionStubKey ( ) { $ plain = $ this -> option ( 'plain' ) ; $ stub = $ this -> option ( 'stub' ) . ( $ plain ? '_plain' : '' ) . '_stub' ; // if no stub, we assume its the same as the type if ( is_null ( $ this -> option ( 'stub' ) ) ) { $ stub = $ this -> option ( 'type' ) . ( $ plain ? '_plain' : '' ) . '_stub' ; } return $ stub ; }
Get the key where the stub is located

@return string
Get the key where the stub is located