WpWodify\Api::set_api_key
Setter for the api_key attribute.
Signature
public function set_api_key(string
$api_key )
Parameters
$api_key
— string- The value to set the api_key to.
Returns
- Api
- Returns $this for object-chaining.
Test Coverage
Information
- Coverage: 2/2 Lines (100%)
- Tests: 1
- Passed: 1 (100%)
Tests
- [ PASSED ] — WpWodify\ApiTest::test_set_api_key