Property | Type | Description | |
---|---|---|---|
$content | string | The meta content. | |
$max | integer | The description max length. | |
$name | string | The meta name. |
Method | Description | |
---|---|---|
__construct ( array $configs = [] ) | Make Description instance. | |
__toString ( ) : string | Render the tag. | |
get ( ) : string | Get description content. | |
getContent ( ) : string | Get raw description content. | |
getMax ( ) : integer | Get description max length. | |
make ( string $content, integer $max = 155 ) : self | Make a description instance. | |
render ( ) : string | Render the tag. | |
set ( string $content ) : self | Set description content. | |
setMax ( integer $max ) : self | Set description max length. |
Method | Description | |
---|---|---|
checkMax ( integer $max ) | Check title max length. | |
hasContent ( ) : boolean | Check if description has content. |
public __construct ( array $configs = [] ) | ||
$configs | array |
public getContent ( ) : string | ||
return | string |