2013-11-24 11:40:35 +01:00
|
|
|
<?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.
|
|
|
|
*/
|
|
|
|
|
2016-02-11 19:14:03 +01:00
|
|
|
namespace Propel\Bundle\PropelBundle\Tests\Fixtures;
|
2013-11-24 11:40:35 +01:00
|
|
|
|
|
|
|
use Propel\Runtime\ActiveRecord\ActiveRecordInterface;
|
|
|
|
|
|
|
|
class ReadOnlyItem implements ActiveRecordInterface
|
|
|
|
{
|
|
|
|
public function getName()
|
|
|
|
{
|
|
|
|
return 'Marvin';
|
|
|
|
}
|
|
|
|
|
|
|
|
public function getPrimaryKey()
|
|
|
|
{
|
|
|
|
return 42;
|
|
|
|
}
|
|
|
|
}
|