Files
intranet/app/Exception/PropertyNotFound.php

16 lines
381 B
PHP
Raw Normal View History

2020-12-01 17:23:13 -03:00
<?php
namespace App\Exception;
class PropertyNotFound extends \LogicException
{
protected $class;
protected $property;
public function __construct($class, $property)
{
$this->class = $class;
$this->property = $property;
$msg = "Property '" . $property . "' for class '" . $class . "' not found.";
parent::__construct($msg);
}
}