for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php namespace Arcanesoft\Blog\Http\Requests\Admin;
use Arcanedev\Support\Http\FormRequest as BaseFormRequest;
use Arcanesoft\Blog\Blog;
/**
* Class FormRequest
*
* @package Arcanesoft\Blog\Bases
* @author ARCANEDEV <[email protected]>
*/
abstract class FormRequest extends BaseFormRequest
{
/* -----------------------------------------------------------------
| Other Methods
| -----------------------------------------------------------------
* Check if the blog is translatable.
* @return bool
protected function isTranslatable()
return Blog::instance()->isTranslatable();
}
* Get the supported locales (only keys).
* @return array
protected function getSupportedLocales()
return Blog::instance()->getSupportedLocalesKeys();