Skip to content

Typehint IP2LocationIO\Configuration #5

Description

@jmwebservices

You can save boilerplate code in the IP2LocationIO\DomainWhois, IP2LocationIO\HostedDomain, IP2LocationIO\IPGeolocation constructors by type hinting the $config parameter.

public function __construct( Configuration $config)
{
	$this->config = $config;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions