36 lines
674 B
PHP
36 lines
674 B
PHP
|
<?php
|
||
|
|
||
|
/**
|
||
|
* Assert
|
||
|
*
|
||
|
* LICENSE
|
||
|
*
|
||
|
* This source file is subject to the MIT license that is bundled
|
||
|
* with this package in the file LICENSE.txt.
|
||
|
* If you did not receive a copy of the license and are unable to
|
||
|
* obtain it through the world-wide-web, please send an email
|
||
|
* to kontakt@beberlei.de so I can send you a copy immediately.
|
||
|
*/
|
||
|
|
||
|
namespace Assert;
|
||
|
|
||
|
use Throwable;
|
||
|
|
||
|
interface AssertionFailedException extends Throwable
|
||
|
{
|
||
|
/**
|
||
|
* @return string|null
|
||
|
*/
|
||
|
public function getPropertyPath();
|
||
|
|
||
|
/**
|
||
|
* @return mixed
|
||
|
*/
|
||
|
public function getValue();
|
||
|
|
||
|
/**
|
||
|
* @return array
|
||
|
*/
|
||
|
public function getConstraints(): array;
|
||
|
}
|