프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$content | string | The meta content. | |
$max | integer | The description max length. | |
$name | string | The meta name. |
메소드 | 설명 | |
---|---|---|
__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. |
메소드 | 설명 | |
---|---|---|
checkMax ( integer $max ) | Check title max length. | |
hasContent ( ) : boolean | Check if description has content. |
public __construct ( array $configs = [] ) | ||
$configs | array |