public function initialize(array $config) { $this->table('posts'); $this->entityClass(__NAMESPACE__ . '\\AclPost'); $this->addBehavior('Acl', ['type' => 'Controlled']); }