PHPackages                             datingvip/common - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. datingvip/common

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

datingvip/common
================

Common helpers and classes for ICanBoogie

v6.0.0(2y ago)0516BSD-3-ClausePHPPHP &gt;=8.0

Since Jan 9Pushed 2y agoCompare

[ Source](https://github.com/DatingVIP/Common)[ Packagist](https://packagist.org/packages/datingvip/common)[ Docs](https://icanboogie.org/)[ RSS](/packages/datingvip-common/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependencies (1)Versions (15)Used By (0)

Common
======

[](#common)

[![Release](https://camo.githubusercontent.com/1a2eb5fe635bf882efe49a42d4c92aa0874d83a999cfaec3523d0837eeafa094/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6963616e626f6f6769652f636f6d6d6f6e2e737667)](https://packagist.org/packages/icanboogie/common)[![Code Quality](https://camo.githubusercontent.com/dcfecc2f801c5a5ffa4f8cff4bbc877e6f43d9332d48af7e130d2681bba6ecb4/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f4943616e426f6f6769652f436f6d6d6f6e2e737667)](https://scrutinizer-ci.com/g/ICanBoogie/Common)[![Code Coverage](https://camo.githubusercontent.com/07a61cdd7d960d55535a9c894f16d92cb0df4f62946a06d3b0615f326e2bf959/68747470733a2f2f696d672e736869656c64732e696f2f636f766572616c6c732f4943616e426f6f6769652f436f6d6d6f6e2e737667)](https://coveralls.io/r/ICanBoogie/Common)[![Packagist](https://camo.githubusercontent.com/80a00c7c9b21fb1e48671daff7e9c72f19413b769f2fac3a4c51fd5082716b26/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6963616e626f6f6769652f636f6d6d6f6e2e737667)](https://packagist.org/packages/icanboogie/common)

This package provides basic classes and helpers shared by many [ICanBoogie](https://icanboogie.org/)packages. It provides offset exceptions, property exceptions, some interfaces, and helpers to transform strings and arrays.

#### Installation

[](#installation)

```
composer require icanboogie/common
```

Exceptions
----------

[](#exceptions)

### Offset exceptions

[](#offset-exceptions)

The following exceptions related to array offset are defined by the package:

- [OffsetError](https://icanboogie.org/api/common/1.2/class-ICanBoogie.OffsetError.html): Interface for offset errors.
- [OffsetNotDefined](https://icanboogie.org/api/common/1.2/class-ICanBoogie.OffsetNotDefined.html): Exception thrown when an array offset is not defined.
- [OffsetNotReadable](https://icanboogie.org/api/common/1.2/class-ICanBoogie.OffsetNotReadable.html): Exception thrown when an array offset is not readable.
- [OffsetNotWritable](https://icanboogie.org/api/common/1.2/class-ICanBoogie.OffsetNotWritable.html): Exception thrown when an array offset is not writable.

### Property exceptions

[](#property-exceptions)

The following exceptions related to object properties defined by the package:

- [PropertyError](https://icanboogie.org/api/common/1.2/class-ICanBoogie.PropertyError.html): Interface for property errors.
- [PropertyNotDefined](https://icanboogie.org/api/common/1.2/class-ICanBoogie.PropertyNotDefined.html): Exception thrown when a property is not defined.
- [PropertyNotReadable](https://icanboogie.org/api/common/1.2/class-ICanBoogie.PropertyNotReadable.html): Exception thrown when a property is not readable.
- [PropertyNotWritable](https://icanboogie.org/api/common/1.2/class-ICanBoogie.PropertyNotWritable.html): Exception thrown when a property is not writable.

```
