From af7027ea31a691e2eea6d813f6aa3cf08f8b9d0a Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Tue, 12 Apr 2016 21:26:17 -0400 Subject: Rename CLI classes --- app/Console/BaseCommand.php | 61 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 app/Console/BaseCommand.php (limited to 'app/Console/BaseCommand.php') diff --git a/app/Console/BaseCommand.php b/app/Console/BaseCommand.php new file mode 100644 index 00000000..bf86ae0d --- /dev/null +++ b/app/Console/BaseCommand.php @@ -0,0 +1,61 @@ +container = $container; + } + + /** + * Load automatically models + * + * @access public + * @param string $name Model name + * @return mixed + */ + public function __get($name) + { + return $this->container[$name]; + } +} -- cgit v1.2.3