for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Pim\Bundle\CustomEntityBundle\Action;
use Symfony\Component\OptionsResolver\OptionsResolver;
/**
* @author Antoine Guigan <[email protected]>
* @copyright 2013 Akeneo SAS (http://www.akeneo.com)
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
class ShowAction extends AbstractViewableAction
{
* {@inheritdoc}
public function getType()
return 'show';
}
protected function setDefaultOptions(OptionsResolver $resolver)
parent::setDefaultOptions($resolver);
$resolver->setDefaults(['route' => 'pim_customentity_show']);