public function initWithFile($modelPath, $policyPath)
    {
        $adapter = new FileAdapter($policyPath);
        $this->initWithAdapter($modelPath, $adapter);
    }
public function initWithFile($modelPath, $policyPath)
    {
        $adapter = new FileAdapter($policyPath);
        $this->initWithAdapter($modelPath, $adapter);
    }
public function initWithFile ( $ modelPath , $ policyPath ) { $ adapter = new FileAdapter ( $ policyPath ) ; $ this -> initWithAdapter ( $ modelPath , $ adapter ) ; }
initializes an enforcer with a model file and a policy file.

@param $modelPath
@param $policyPath

@throws CasbinException
initializes an enforcer with a model file and a policy file .