library viewable
Make any object viewable
funivan/viewable
Make any object viewable
- Thursday, February 26, 2015
- by funivan
- Repository
- 1 Watchers
- 0 Stars
- 7,791 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 2 Versions
- 9 % Grown
Viewable
, (*1)
Make any object viewable, (*2)
Install
Via Composer, (*3)
``` bash
$ composer require funivan/viewable, (*4)
## Usage
``` php
class Email {
use \Funivan\Viewable\Viewable;
public function getBody(){
return $this->renderView('simple', array('name'=>'funivan'));
}
}
Testing
bash
./vendor/bin/phpunit, (*5)
Contributing
Please see CONTRIBUTING for details., (*6)
Credits
License
The MIT License (MIT). Please see License File for more information., (*7)