remove() 공개 메소드

Remove a value from the data
public remove ( string $name )
$name string The key of the data to remove
예제 #1
0
파일: dataTest.php 프로젝트: jbzoo/data
 public function testRemove()
 {
     $data = new Data($this->_test);
     is('qwerty', $data->get('string'));
     $data->remove('string');
     isFalse($data->has('string'));
     isNull($data->get('string'));
 }