notNull() public static method

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
ファイル: FunctionsTest.php プロジェクト: letsdrink/ouzo
 /**
  * @test
  */
 public function shouldCheckNull()
 {
     //then
     $this->assertFalse(Functions::call(Functions::notNull(), null));
 }