PHP Trait Goose\Tests\Harness\TestTrait

Datei anzeigen Open project: scotteh/php-goose

Public Methods

Method Description
html ( DOMWrap\Document | DOMWrap\Element | Goose\Article $doc ) : string

Private Methods

Method Description
call ( string $method ) : mixed
config ( ) : Configuration
document ( string $html ) : DOMWrap\Document
generate ( string $html ) : Goose\Article
setArticle ( Goose\Article $article = null ) : Goose\Article
setDocument ( DOMWrap\Document $document ) : DOMWrap\Document

Method Details

html() public method

public html ( DOMWrap\Document | DOMWrap\Element | Goose\Article $doc ) : string
$doc DOMWrap\Document | DOMWrap\Element | Goose\Article
return string