for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Webfactor\Laravel\Generators\Schemas\Naming;
use Webfactor\Laravel\Generators\Contracts\NamingAbstract;
class Sidebar extends NamingAbstract
{
private $path = 'views/vendor/backpack/base/inc';
/**
* @return string
*/
public function getName(): string
return snake_case($this->entity);
}
public function getFileName(): string
return 'sidebar_content.blade.php';
public function getPath(): string
return resource_path($this->path);
public function getRelativeFilePath(): string
return 'resources/'.$this->path.'/'.$this->getFileName();