/** * checking whether the order can be edit by a role * * @param Role $role The role who is trying to edit the roder * * @return boolean */ public function canEditBy(Role $role) { return AccessControl::canEditOrder($this, $role); }