Property | Type | Description | |
---|---|---|---|
$currentUrl | string | Current URL. | |
$metas | Arcanedev\SeoHelper\Contracts\Entities\MetaCollection | Meta collection. |
Method | Description | |
---|---|---|
__construct ( array $configs = [] ) | Make MiscTags instance. | |
__toString ( ) : string | Render the tag. | |
add ( string $name, string $content ) : |
Add a meta tag. | |
addMany ( array $metas ) : |
Add many meta tags. | |
getUrl ( ) : string | Get the current URL. | |
make ( array $defaults = [] ) : |
Make MiscTags instance. | |
remove ( array | string $names ) : |
Remove a meta from the meta collection by key. | |
render ( ) : string | Render the tag. | |
reset ( ) : |
Reset the meta collection. | |
setUrl ( string $url ) : |
Set the current URL. |
Method | Description | |
---|---|---|
addCanonical ( ) : |
Add the canonical link. | |
addRobotsMeta ( ) : |
Add the robots meta. | |
hasUrl ( ) : boolean | Check if has the current URL. | |
init ( ) | Start the engine. | |
isCanonicalEnabled ( ) : boolean | Check if canonical is enabled. | |
isRobotsEnabled ( ) : boolean | Check if blocking robots is enabled. |
public __construct ( array $configs = [] ) | ||
$configs | array |