PHPackages                             m1lt0n/delegator - 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. m1lt0n/delegator

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

m1lt0n/delegator
================

Simple Delegator for PHP 5.4+

1.1.0(10y ago)115MITPHPPHP &gt;=5.4.0

Since Sep 3Pushed 10y ago1 watchersCompare

[ Source](https://github.com/m1lt0n/delegator)[ Packagist](https://packagist.org/packages/m1lt0n/delegator)[ Docs](https://github.com/m1lt0n/delegator)[ RSS](/packages/m1lt0n-delegator/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependencies (2)Versions (3)Used By (0)

[![Build Status](https://camo.githubusercontent.com/eba6e417c484be018a5b29808377a97a64bfd1ac2a6e3bf63a04678d5e2e59cf/68747470733a2f2f7472617669732d63692e6f72672f6d316c74306e2f64656c656761746f722e737667)](https://travis-ci.org/m1lt0n/delegator)

Delegator
=========

[](#delegator)

A simple delegation mechanism for objects.

Delegator is a simple library that allows delegation of methods from an object to others. It can be useful in combination with implementing Delegators, where one can partly decorate an object and partly delegate to the original, undecorated object.

### Εxample

[](#εxample)

```
