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.
*/
declare(strict_types=1);
namespace FSi\Bundle\AdminBundle\Doctrine\Admin;
use FSi\Bundle\AdminBundle\Admin\CRUD\GenericCRUDElement;
abstract class CRUDElement extends GenericCRUDElement implements Element
{
use DataIndexerElementImpl;
public function save($object): void
$this->getObjectManager()->persist($object);
$this->getObjectManager()->flush();
}
public function saveDataGrid(): void
public function delete($object): void
$this->getObjectManager()->remove($object);