2017 © Pedro Peláez
 

library fluent

Readability is the key.

image

php-packages/fluent

Readability is the key.

  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Fluent Build Status

Readability is the key. Version 1.0.1., (*1)

Installation

composer require php-packages/fluent

Usage

class A
{

    use \PhpPackages\Fluent\FluentTrait;
}

$a = new A;

$a->should->do->something("useful");
$a->getFluent()->getCalls(); # => ["should", "do", ["something", ["useful"]]]
$a->getFluent()->clearCalls();

$a->_jump_and_scream();
$a->postCatsInInstagram();
$a->getFluent()->getCalls(); # => ["jump", "and", "scream", "post", "cats", "in", "instagram"]
$a->getFluent()->clearCalls();

$a->doThat()->and->doThis(123, null);
$a->getFluent()->getCalls(); # => ["do", "that", "and", "do", ["this", [123, null]]]

Additional information

Fluent is licensed under the MIT License (MIT)., (*2)

The Versions

09/02 2015

dev-master

9999999-dev

Readability is the key.

  Sources   Download

MIT

The Development Requires

fluent interfaces

03/02 2015

1.0.0

1.0.0.0

Readability is the key.

  Sources   Download

MIT

The Development Requires

fluent interfaces