public function get($property, $replacements = []) {
    if (!isset($this->{$property})) {
      throw new \Exception("Attempt to retrieve unknown property: $property. Available properties: \n" . print_r((array) $this, 1));
    }
    if (in_array($property, $this->renderableProperties)) {
      return $this->render($this->{$property}, $replacements);
    }
    return $this->{$property};
  }
public function get($property, $replacements = []) {
    if (!isset($this->{$property})) {
      throw new \Exception("Attempt to retrieve unknown property: $property. Available properties: \n" . print_r((array) $this, 1));
    }
    if (in_array($property, $this->renderableProperties)) {
      return $this->render($this->{$property}, $replacements);
    }
    return $this->{$property};
  }
public function get ( $ property , $ replacements = [ ] ) { if ( ! isset ( $ this -> { $ property } ) ) { throw new \ Exception ( "Attempt to retrieve unknown property: $property. Available properties: \n" . print_r ( ( array ) $ this , 1 ) ) ; } if ( in_array ( $ property , $ this -> renderableProperties ) ) { return $ this -> render ( $ this -> { $ property } , $ replacements ) ; } return $ this -> { $ property } ; }
Retrieve a property value and token replacement.
Retrieve a property value and token replacement .