for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* GpsLab component.
*
* @author Peter Gribanov <[email protected]>
* @copyright Copyright (c) 2011, Peter Gribanov
* @license http://opensource.org/licenses/MIT
*/
namespace GpsLab\Component\Payload\Exception;
class PropertyException extends \RuntimeException
{
* @param string $property
* @param object $class
* @return PropertyException
public static function undefinedProperty($property, $class)
return new self(sprintf('Undefined property "%s" of class "%s"', $property, get_class($class)));
}