Skip to content

Incorrect documentation for getUseAcl() #50

@tyrsson

Description

@tyrsson

Bug Report

The documentation for:

    /**
     * Returns whether ACL should be used
     *
     * Implements {@link HelperInterface::getUseAcl()}.
     *
     * @return bool
     */
    public function getUseAcl()
    {
        return $this->useAcl;
    }

From the docs:

Whether or not to use ACLs; both the flag must be enabled and an ACL instance present.

Reference this page:
https://docs.laminas.dev/laminas-navigation/helpers/intro/

This method does not consult hasAcl to determine if an ACL is present.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions