Skip to content

Instantly share code, notes, and snippets.

@simonhamp
Last active February 6, 2016 01:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save simonhamp/1ba8600edc6236490a89 to your computer and use it in GitHub Desktop.
Save simonhamp/1ba8600edc6236490a89 to your computer and use it in GitHub Desktop.
<?php
class Foo {
use AuthenticatesUsers {
getLogin as login;
}
public function getLogin() {
// Do my stuff
return $this->login()->with('myvar', 'Hello World');
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment