public function testFetchTwoColumns() { $values = $this->fetcher->fetchColumn('value'); $ids = $this->fetcher->fetchColumn('id'); $this->assertCount(4, $values); $this->assertCount(4, $ids); }
/** * @return Result */ public function loadResult() { if (is_null($this->result)) { $this->loadFetcher(); $this->result = $this->fetcher->fetchAll(); } return $this->result; }