PHP Class ActiveRecord\ReadOnlyException

Inheritance: extends ModelException
Show file Open project: jpfuentes2/php-activerecord

Public Methods

Method Description
__construct ( str $class_name, str $method_name ) : void Sets the exception message to show the undefined property's name.

Method Details

__construct() public method

Sets the exception message to show the undefined property's name.
public __construct ( str $class_name, str $method_name ) : void
$class_name str name of the model that is read only
$method_name str name of method which attempted to modify the model
return void