protected function getPermissionSourceByPath($condition) { // find the file location, so we can get the file contents $fileLocation = $this->View->make($condition)->getPath(); return File::get($fileLocation); }