Méthode |
Description |
|
__call ( string $method, array $args ) : mixed |
Truly decorate the embera object. With this
method Im preserving compatability with the
API of the decorated object. |
|
__construct ( Embera $embera, boolean $allowOffline = false ) : void |
Constructor |
|
getErrors ( ) : array |
Returns an array with all the errors |
|
getLastError ( ) : string |
Gets the last error found |
|
hasErrors ( ) : boolean |
Checks if there were errors |
|
setTemplate ( string $template, string | array $body = null ) : string |
Sets a template with placeholders, that should be
replaced by the data from an oembed response. |
|
transform ( string | array $body = null ) : string |
This method transforms an array or a string with urls
into another string using a specified template. |
|