Last active
July 19, 2019 08:07
-
-
Save Rolf/93c2209a7d58a5901dcff435571a92a1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php namespace Vendor\Model; | |
| use secondTrait as second; | |
| class isSolognclassnamefoobar extends BASICextendS implements FOOinterface, FOOinterfaceagain, FOOinterfaceOnemore{ | |
| use First, second, Fourtrait; | |
| const someConstant='Some Constant'; | |
| public $variableclass=null; | |
| public function GetName(){ | |
| $Name_User = 'Some Name'; | |
| if($Name_User=='Some Name') | |
| {return 'Some Name';} else { | |
| return 'Unknown Name'; | |
| } | |
| } | |
| public function Setusername($user_name = 'New User Name', User $User, FooService = $foo_service, $onemorevariable) { | |
| try { | |
| $dooSomeThink = $foo_serfice->update($User) | |
| }catch(Exception $e) | |
| { | |
| Log('Fuck'); | |
| } catch(AnyExcept $e) {Log('Fuck again')} | |
| } | |
| public function MakeAnyThink($foo){ | |
| foreach ($foo as $key=>$bar) | |
| { | |
| // do | |
| } | |
| } | |
| } | |
| $this->setusername('Heh user', $user, $service, $onemore); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment