Bosnadev\Repositories\Console\Commands\Creators\RepositoryCreator::stripRepositoryName PHP Метод

stripRepositoryName() защищенный Метод

Get the stripped repository name.
protected stripRepositoryName ( ) : string
Результат string
    protected function stripRepositoryName()
    {
        // Lowercase the repository.
        $repository = strtolower($this->getRepository());
        // Remove repository from the string.
        $stripped = str_replace("repository", "", $repository);
        // Uppercase repository name.
        $result = ucfirst($stripped);
        // Return the result.
        return $result;
    }