public function getCurrentUserProperty($property)
    {
        $currentuser = $this->getCurrentUser();

        return isset($currentuser[$property]) ? $currentuser[$property] : null;
    }
public function getCurrentUserProperty($property)
    {
        $currentuser = $this->getCurrentUser();

        return isset($currentuser[$property]) ? $currentuser[$property] : null;
    }
public function getCurrentUserProperty ( $ property ) { $ currentuser = $ this -> getCurrentUser ( ) ; return isset ( $ currentuser [ $ property ] ) ? $ currentuser [ $ property ] : null ; }
Get the current user's property.

@param string $property

@return string
Get the current user s property .