You are here

public static function OutOfBoundsException::missingPrimaryKeyValue in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/doctrine/common/lib/Doctrine/Common/Proxy/Exception/OutOfBoundsException.php \Doctrine\Common\Proxy\Exception\OutOfBoundsException::missingPrimaryKeyValue()

Parameters

string $className:

string $idField:

Return value

self

1 call to OutOfBoundsException::missingPrimaryKeyValue()
AbstractProxyFactory::getProxy in vendor/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

vendor/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));
}