ContentAllowRobotsStatus
in package
implements
ContentAllowRobotsStatusInterface
Class ContentAllowRobotsStatus
This class represents the content "allow robots" status
Tags
Interfaces, Classes and Traits
- ContentAllowRobotsStatusInterface
- Interface ContentAllowRobotsStatusInterface
Table of Contents
- $allowRobots : bool
- Content "allow robots" status
- __construct() : mixed
- ContentAllowRobotsStatus constructor
- isAllowed() : bool
- Return the content "allow robots" status
Properties
$allowRobots
Content "allow robots" status
protected
bool
$allowRobots
Methods
__construct()
ContentAllowRobotsStatus constructor
public
__construct([bool $allowRobots = true ]) : mixed
Parameters
- $allowRobots : bool = true
-
Content "allow robots" status
Return values
mixed —isAllowed()
Return the content "allow robots" status
public
isAllowed() : bool