public function supports($resource, $type = null) { return is_array($resource); }
/** * Test supports with a valid array */ public function testSupports() { $array = Fixtures::getSamplePhpArray(); $this->assertTrue($this->arrayLoader->supports($array)); }