You are here

public static function OutOfBoundsException::missingPrimaryKeyValue in Plug 7

Parameters

string $className:

string $idField:

Return value

self

1 call to OutOfBoundsException::missingPrimaryKeyValue()
AbstractProxyFactory::getProxy in lib/doctrine/common/lib/Doctrine/Common/Proxy/AbstractProxyFactory.php
Gets a reference proxy instance for the entity of the given type and identified by the given identifier.

File

lib/doctrine/common/lib/Doctrine/Common/Proxy/Exception/OutOfBoundsException.php, line 38

Class

OutOfBoundsException
Proxy Invalid Argument Exception.

Namespace

Doctrine\Common\Proxy\Exception

Code

public static function missingPrimaryKeyValue($className, $idField) {
  return new self(sprintf("Missing value for primary key %s on %s", $idField, $className));
}