src/Propel/Runtime/ActiveRecord/ActiveRecordInterface.php
<?php
/**
* MIT License. This file is part of the Propel package.
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Propel\Runtime\ActiveRecord;
/**
* This ActiveRecord interface helps to find Propel Object
*
* @author jaugustin
*
* @method array toArray(string $keyType = \Propel\Runtime\Map\TableMap::TYPE_FIELDNAME, bool $includeLazyLoadColumns = true, array $alreadyDumpedObjects = [], bool $includeForeignObjects = false): array
*/
interface ActiveRecordInterface
{
/**
* Returns true if the primary key for this object is null.
*
* @return bool
*/
public function isPrimaryKeyNull(): bool;
}