neutron/silex-filesystem-provider
最新稳定版本:2.0.0
Composer 安装命令:
composer require neutron/silex-filesystem-provider
包简介
A Silex Provider for Symfony Filesystem component
README 文档
README
#Silex Filesystem Service Provider
This is a Silex Service Provider for Symfony Filesystem Component.
Installation
Add it using composer :
{
"require": {
"neutron/silex-filesystem-provider": "dev-master"
}
}
Usage
use Silex\Application; use Neutron\Silex\Provider\FilesystemServiceProvider; $app = new Application(); // Register the filesystem $app->register(new FilesystemServiceProvider()); // Just use it as any Silex service if (!$app['filesystem']->exists('any-absolute-or-relative-path...')) { throw new \Namespace\PathNotFoundCustomException(); }
Information
Read more information about the Symfony Filesystem Component
License
This is released under the MIT license
统计信息
- 总下载量: 139.23k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 5
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2012-09-06