SilverStripe\EnvironmentCheck\Checks\URLCheck
Check that a given URL is functioning, by default, the homepage.
Note that Director::test() will be used rather than a CURL check.
Synopsis
class URLCheck
implements
EnvironmentCheck
{
- // members
- protected $url;
- protected $testString;
- // methods
- public void __construct()
- public array check()
Hierarchy
Constants
Name | Value |
---|---|
ERROR | 3 |
WARNING | 2 |
OK | 1 |
Members
protected
- $testString — string
- $url — string
Methods
public
- __construct()
- check() — {@inheritDoc}