funivan/viewable

此包已废弃,不再维护。没有建议的替代包。

使任何对象可查看

0.0.1 2015-02-26 09:46 UTC

This package is auto-updated.

Last update: 2022-02-01 12:44:56 UTC


README

GitHub tag Software License Build Status Coverage Status Quality Score Total Downloads

使任何对象可查看

安装

通过 Composer

$ composer require funivan/viewable

用法

class Email {
 use \Funivan\Viewable\Viewable;
 
 public function getBody(){
  return $this->renderView('simple', array('name'=>'funivan'));
 }
 
}

测试

    ./vendor/bin/phpunit

贡献

请参阅 CONTRIBUTING 以获取详细信息。

致谢

许可证

MIT 许可证 (MIT)。请参阅 许可证文件 以获取更多信息。