ReadOnlyForeverException
Not yet in a tagged release
Description
ReadOnlyForeverException
is an exception. It is thrown whenever you attempt to make an entity read-write, but the entity has been marked as 'read-only forever'.
Public Interface
ReadOnlyForeverException
has the following public interface:
// ReadOnlyForeverException lives in this namespace
namespace GanbaroDigital\MissingBits\Entities;
// our base classes and interfaces
use LogicException;
class ReadOnlyForeverException extends LogicException
{
}
Class Contract
Here is the contract for this class:
GanbaroDigital\MissingBits\Entities\ReadOnlyForeverException
[x] Can instantiate
[x] Is logic exception
Class contracts are built from this class's unit tests.
Future releases of this class will not break this contract.
Future releases of this class may add to this contract. New additions may include:
- clarifying existing behaviour (e.g. stricter contract around input or return types)
- add new behaviours (e.g. extra class methods)
When you use this class, you can only rely on the behaviours documented by this contract.
If you:
- find other ways to use this class,
- or depend on behaviours that are not covered by a unit test,
- or depend on undocumented internal states of this class,
... your code may not work in the future.
Notes
None at this time.
See Also
LogicException
- SPL class included in PHP