/** * Returns this attributes value * * @return float */ public function getValue() { return (double) parent::getValue(); }
/** * Returns this attributes value * * @return integer */ public function getValue() { return (string) parent::getValue(); }
/** * Returns this attributes value * * @return integer */ public function getValue() { return (int) parent::getValue(); }
public function testValue() { $property = new Morph_Property_Generic('TestProperty', 'TestValue'); $property->setValue('AValue'); $this->assertEquals('AValue', $property->getValue()); }