pgb_liv\php_ms\Search\MascotSearch::__construct
Create a new instance of this class.
Must supply server details.
Signature
public function __construct(string
$host,
int
$port,
string
$path )
Parameters
$host
— string
Server hostname or IP address$port
— int
Server port$path
— string
Path to base Mascot directory
Test Coverage
Information
- Coverage: 4/4 Lines (100%)
- Tests: 6
- Passed: 6 (100%)
Tests
- [ PASSED ] — pgb_liv\php_ms\Test\Unit\MascotSearchTest::testObjectCanBeConstructedForValidConstructorArguments
- [ PASSED ] — pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidAuthentication
- [ PASSED ] — pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetInvalidAuthentication
- [ PASSED ] — pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearches
- [ PASSED ] — pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanGetValidRecentSearchData
- [ PASSED ] — pgb_liv\php_ms\Test\Unit\MascotSearchTest::testCanSubmitValidJob