Does openable get ignored? if not what does it do?

function openSomething(openable $obj) {
		$obj->open();
	}

openable is a class btw. taken from a book.

bump

Member Avatar for rajarajan2017

I hope it is correct. you passing the obj as an reference.

Thanks.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.