notNull() 공개 정적인 메소드

public static notNull ( )
예제 #1
0
파일: Model.php 프로젝트: letsdrink/ouzo
 /**
  * Returns model object as a nicely formatted string.
  */
 public function inspect()
 {
     return get_called_class() . Objects::toString(Arrays::filter($this->_attributes, Functions::notNull()));
 }
예제 #2
0
 /**
  * @test
  */
 public function shouldCheckNull()
 {
     //then
     $this->assertFalse(Functions::call(Functions::notNull(), null));
 }