notNull() public static method

public static notNull ( )
Beispiel #1
0
 /**
  * Returns model object as a nicely formatted string.
  */
 public function inspect()
 {
     return get_called_class() . Objects::toString(Arrays::filter($this->_attributes, Functions::notNull()));
 }
Beispiel #2
0
 /**
  * @test
  */
 public function shouldCheckNull()
 {
     //then
     $this->assertFalse(Functions::call(Functions::notNull(), null));
 }