Google\Cloud\Dev\Snippet\Coverage\Coverage::cover PHP Method

cover() public method

Mark a snippet as covered.
public cover ( string $identifier ) : void
$identifier string The identifier of the snippet being covered.
return void
    public function cover($identifier)
    {
        $this->covered[] = $identifier;
    }