Storm\Core\Object\PropertyData::GetProperty PHP Méthode

GetProperty() final public méthode

final public GetProperty ( $Identifier )
    public final function GetProperty($Identifier)
    {
        return isset($this->Properties[$Identifier]) ? $this->Properties[$Identifier] : null;
    }

Usage Example

 /**
  * @depends testAddedValuesAreSet
  */
 public function testCorrectPropertiesAreReturned()
 {
     $this->PropertyData[$this->Property1] = true;
     $this->PropertyData[$this->Property2] = true;
     $this->assertEquals($this->PropertyData->GetProperty($this->Property1->GetIdentifier()), $this->Property1);
     $this->assertEquals($this->PropertyData->GetProperty($this->Property2->GetIdentifier()), $this->Property2);
 }
All Usage Examples Of Storm\Core\Object\PropertyData::GetProperty