for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* (c) FSi sp. z o.o. <[email protected]>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace FSi\Bundle\AdminBundle\Doctrine\Admin;
use FSi\Bundle\AdminBundle\Admin\DependentElement;
use FSi\Bundle\AdminBundle\Admin\DependentElementImpl;
abstract class DependentDisplayElement extends DisplayElement implements DependentElement
{
use DependentElementImpl;
public function getRouteParameters()
return array_merge(
parent::getRouteParameters(),
[DependentElement::PARENT_REQUEST_PARAMETER => $this->getParentObjectId()]
);
}