/** * Returns this attributes value * * @return integer */ public function getValue() { return '/' . (string)parent::getValue()->regex . '/'; }
/** * Returns this attributes value * * @return integer */ public function getValue(){ return (int)parent::getValue(); }
public function testDefault() { $property = new Generic('TestProperty', 'TestValue'); $this->assertEquals('TestValue', $property->getValue()); }
/** * Returns this attributes value * * @return boolean */ public function getValue(){ return (boolean)parent::getValue(); }
/** * Returns this attributes value * * @return string */ public function getValue(){ return (string)parent::getValue(); }
/** * Returns this attributes value * * @return string */ public function getValue() { return null === parent::getValue() ? null : (string) parent::getValue(); }