$user->data()

Returns an array with all user data

  • return (array)

Example

<?= $site->user('bastian')->data() ?>

Please note: This method returns the raw data from the user's account file. Some of that data (like the ID of the role) might be parsed differently by the respective user methods.


Is something missing or incorrect? Edit this page on Github…