PHPackages                             badcow/fluent-interface - 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. badcow/fluent-interface

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

badcow/fluent-interface
=======================

Turns methods of any non-final class that do not return anything into chainable, fluent interfaces.

v1.0.0(11y ago)020MITPHPPHP &gt;=5.3.9

Since Mar 11Pushed 11y ago1 watchersCompare

[ Source](https://github.com/samuelwilliams/FluentInterface)[ Packagist](https://packagist.org/packages/badcow/fluent-interface)[ RSS](/packages/badcow-fluent-interface/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependenciesVersions (3)Used By (0)

Badcow Fluent Interface
=======================

[](#badcow-fluent-interface)

Turns methods of any non-final class that do not return anything into chainable, fluent interfaces.

Disclaimer
----------

[](#disclaimer)

This is a joke. I made this library after an argument with the senior dev who doesn't like fluent interfaces. If you can think of a legitimate use for this library, I would like to know.

Installation
------------

[](#installation)

### Using composer

[](#using-composer)

```
//composer.json
{
    "require": {
        "badcow/fluent-interface": "dev-master"
    }
}

```

Basic Usage
-----------

[](#basic-usage)

### Non fluent class

[](#non-fluent-class)

```
