예제 #1
0
 public function testSaveDeleteFind()
 {
     $result = Tells::save(array('li' => 'the most rad php framework'));
     $this->assertTrue($result);
     Tells::delete('li');
     Tells::reset();
     $result = Tells::find('li');
     $this->assertFalse($result);
 }
예제 #2
0
 public function index()
 {
     $tells = Tells::find('all');
     return compact('tells');
 }