private function _getSectionAuthorOptions(Section $section): array
    {
        $authors = User::find()
            ->can('createEntries:'.$section->uid)
            ->all();
        return $this->_formatAuthorOptions($authors);
    }
private function _getSectionAuthorOptions(Section $section): array
    {
        $authors = User::find()
            ->can('createEntries:'.$section->uid)
            ->all();
        return $this->_formatAuthorOptions($authors);
    }
private function _getSectionAuthorOptions ( Section $ section ) : array { $ authors = User :: find ( ) -> can ( 'createEntries:' . $ section -> uid ) -> all ( ) ; return $ this -> _formatAuthorOptions ( $ authors ) ; }
Returns the authors that can publish to the given section.

@param Section $section
@return User[]
Returns the authors that can publish to the given section .