<?php namespace Factory\Admin; use Dever; class Core { public function __construct() { $this->user = Dever::load('factory/admin/auth.check'); $this->id = $this->user['factory_id']; } }