for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Created by PhpStorm.
* User: afshin
* Date: 11/13/17
* Time: 1:31 PM
*/
namespace Core\Interfaces;
abstract class _Middleware
{
protected $container;
function __construct($container)
$this->container = $container;
}
public function __get($property)
if ($this->container->{$property}) {
return $this->container->{$property};