src/Franzose/ClosureTable/Generators/Generator.php
protected function getStub($name, $type)
    {
        if (stripos($name, '.php') === false) {
            $name = $name . '.php';
        }

        return $this->filesystem->get($this->getStubsPath($type) . '/' . $name);
    }
protected function getStub($name, $type)
    {
        if (stripos($name, '.php') === false) {
            $name = $name . '.php';
        }

        return $this->filesystem->get($this->getStubsPath($type) . '/' . $name);
    }
protected function getStub ( $ name , $ type ) { if ( stripos ( $ name , '.php' ) === false ) { $ name = $ name . '.php' ; } return $ this -> filesystem -> get ( $ this -> getStubsPath ( $ type ) . '/' . $ name ) ; }
Get a stub file by name.

@param string $name
@param string $type
@return string
Get a stub file by name .