phpbb_mock_container_builder::has PHP Method

has() public method

Returns true if the given service is defined.
public has ( string $id ) : boolean
$id string The service identifier
return boolean true if the service is defined, false otherwise
    public function has($id)
    {
        return isset($this->services[$id]);
    }