Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Apr 19th, 2018
80
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.21 KB
| None
|
0
0
raw
download
clone
embed
print
report
class example1{
public function getById(){
//Access to db
}
}
class example2{
public function getById(){
$ex = (new example1())->getById();
//changes ex and returns it.
}
}
Add Comment
Please,
Sign In
to add comment
Public Pastes
ACL Linux
Bash | 1 min ago | 0.09 KB
🤑 G2A.com Free Gift Card Guide Apr 2024 FIX 🤑
GetText | 1 min ago | 0.39 KB
🤑 G2A.com Free Gift Card Guide Apr 2024 FIX 🤑
GetText | 26 min ago | 0.38 KB
pastebin.ai - #1 pastebin.com alternative
PHP | 27 min ago | 0.81 KB
Untitled
Python | 31 min ago | 1.37 KB
VillamCalc
Python | 39 min ago | 4.95 KB
server.cpp
C++ | 58 min ago | 5.48 KB
Untitled
Python | 1 hour ago | 1.11 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!