2017 © Pedro PelĂĄez
 

library circular-reference-detect

Circular reference detector

image

antalaron/circular-reference-detect

Circular reference detector

  • Monday, July 17, 2017
  • by antalaron
  • Repository
  • 1 Watchers
  • 1 Stars
  • 42 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 8 % Grown

The README.md

Circular reference detect

Build Status Coverage Status Latest Stable Version Latest Unstable Version License, (*1)

PHP library to detect reference circular references in array., (*2)

Installation

Open a command console, enter your project directory and execute the following command to download the latest stable version of this library:, (*3)

$ composer require antalaron/circular-reference-detect

This command requires you to have Composer installed globally, as explained in the installation chapter of the Composer documentation., (*4)

Usage

Find a circular reference in an array:, (*5)

require __DIR__.'/vendor/autoload.php';

use Antalaron\Component\CircularReferenceDetect\CircularReferenceDetect;
$a = [
    'a' => ['b'],
    'b' => ['c'],
    'c' => ['a'],
];
$detector = new CircularReferenceDetect();
$detector->hasCircularReference($a);

Documentation

  1. Installation
  2. Usage
  3. Contributing

License

This library is under MIT License., (*6)

The Versions

17/07 2017

dev-master

9999999-dev

Circular reference detector

  Sources   Download

MIT

The Requires

  • php >=5.5.9

 

The Development Requires

17/07 2017

v1.0.1

1.0.1.0

Circular reference detector

  Sources   Download

MIT

The Requires

  • php >=5.5.9

 

The Development Requires

04/04 2017

v1.0.0

1.0.0.0

Circular reference detector

  Sources   Download

MIT

The Requires

  • php >=5.5.9

 

The Development Requires

04/04 2017

v1.0.0-BETA1

1.0.0.0-beta1

Circular reference detector

  Sources   Download

MIT

The Requires

  • php >=5.5.9

 

The Development Requires