承接 antalaron/circular-reference-detect 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

antalaron/circular-reference-detect

最新稳定版本:v1.0.1

Composer 安装命令:

composer require antalaron/circular-reference-detect

包简介

Circular reference detector

README 文档

README

Build Status Coverage Status Latest Stable Version Latest Unstable Version License

PHP library to detect reference circular references in array.

Installation

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

$ 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.

Usage

Find a circular reference in an array:

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.

统计信息

  • 总下载量: 65.85k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 3
  • 点击次数: 3
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 3
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-04-04