M1\Vars\Provider\Silex\VarsServiceProvider::__construct PHP Method

__construct() public method

The service provider constructor sets the entity to use with vars
public __construct ( mixed $entity = null )
$entity mixed The entity
    public function __construct($entity = null)
    {
        $this->entity = $entity;
    }