getValue() 공개 메소드

public getValue ( ) : mixed
리턴 mixed
예제 #1
0
 /**
  * @expectedException \LogicException
  * @expectedExceptionMessage Value is not set for variable "foo"
  */
 public function testGetNullValueException()
 {
     $var = new Variable('foo', 'bar', false, false, new Location(1, 1));
     $var->getValue();
 }
예제 #2
0
 /**
  * @expectedException \LogicException
  */
 public function testVariableLogicException()
 {
     $variable = new Variable('id', 'int', false, false, new Location(1, 1));
     $variable->getValue();
 }