From af5272c6784050a97ce968d067274b86099fc3af Mon Sep 17 00:00:00 2001 From: Kyle Kaminski Date: Wed, 9 Apr 2014 22:02:09 -0500 Subject: some oo concepts --- oo/magic_methods.php | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 oo/magic_methods.php (limited to 'oo/magic_methods.php') diff --git a/oo/magic_methods.php b/oo/magic_methods.php new file mode 100644 index 0000000..8d9da79 --- /dev/null +++ b/oo/magic_methods.php @@ -0,0 +1,16 @@ +arr = array(); + } + + abstract protected function foo(); +} + +class Derived extends Base { + +} \ No newline at end of file -- cgit v1.2.3