propel-bundle/Tests/Fixtures/ReadOnlyItem.php
2016-02-11 19:31:44 +01:00

28 lines
539 B
PHP

<?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Propel\Bundle\PropelBundle\Tests\Fixtures;
use Propel\Runtime\ActiveRecord\ActiveRecordInterface;
class ReadOnlyItem implements ActiveRecordInterface
{
public function getName()
{
return 'Marvin';
}
public function getPrimaryKey()
{
return 42;
}
}