Files
Phraseanet/lib/Alchemy/Phrasea/Model/Repositories/SecretRepository.php
Benoît Burnichon 0e8e462ca7 Backport of #1383.
Add logic on MediaAccessorController
2015-08-12 00:25:28 +02:00

23 lines
489 B
PHP

<?php
/*
* This file is part of Phraseanet
*
* (c) 2005-2015 Alchemy
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Alchemy\Phrasea\Model\Repositories;
use Doctrine\ORM\EntityRepository;
use Entities\Secret;
class SecretRepository extends EntityRepository
{
public function save(Secret $secret)
{
$this->_em->persist($secret);
$this->_em->flush($secret);
}
}