public function __getData(string $name)
    {
        if (isset($this->data[$name])) {
            return $this->data[$name];
        }

        return null;
    }
public function __getData(string $name)
    {
        if (isset($this->data[$name])) {
            return $this->data[$name];
        }

        return null;
    }
public function __getData ( string $ name ) { if ( isset ( $ this -> data [ $ name ] ) ) { return $ this -> data [ $ name ] ; } return null ; }
Allow object property magic to redirect to the data variable

@param *string $name  The name of the supposed property
@param *mixed  $value The value of the supposed property
Allow object property magic to redirect to the data variable