承接 funkyproject/reflection-file 相关项目开发

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

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

funkyproject/reflection-file

最新稳定版本:v0.1

Composer 安装命令:

composer require funkyproject/reflection-file

包简介

README 文档

README

Use Attraktiv\ReflectionFile to retrieve a lot of information about class into the file.

Build Status Scrutinizer Code Quality Code Coverage

Installation

You can install this lib using composer

composer require funkyproject/reflection-file

or add the package to your composer.json file directly

Usage

use Funkyproject\ReflectionFIle;

$reflectionFile = new ReflectionFile($pathFileValid);
$reflectionFile->getName() // Namespace/ClassName
$instance = $reflectionFile->newInstance();

More information about methods are available on http://www.php.net/manual/en/class.reflectionclass.php

If file not found, ReflectionFile will throw a FileNotFoundException

If file is not a class, ReflectionFile will throw a ReflectionException

Tests

You can run the unit tests with the following command:

 $ cd path/to/ReflectionFile/
 $ composer.phar install
 $ phpunit

统计信息

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

GitHub 信息

  • Stars: 1
  • Watchers: 2
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: Unknown
  • 更新时间: 2014-04-02