public function slugs(array $basenames): array
    {
        $slugs = []; // Initialize.

        foreach ($basenames as $_basename) {
            if (($_slug = $this->slug((string) $_basename))) {
                $slugs[$_basename] = $_slug;
            }
        } // unset($_basename); // Housekeeping.

        return $slugs;
    }
public function slugs(array $basenames): array
    {
        $slugs = []; // Initialize.

        foreach ($basenames as $_basename) {
            if (($_slug = $this->slug((string) $_basename))) {
                $slugs[$_basename] = $_slug;
            }
        } // unset($_basename); // Housekeeping.

        return $slugs;
    }
public function slugs ( array $ basenames ) : array { $ slugs = [ ] ; // Initialize. foreach ( $ basenames as $ _basename ) { if ( ( $ _slug = $ this -> slug ( ( string ) $ _basename ) ) ) { $ slugs [ $ _basename ] = $ _slug ; } } // unset($_basename); // Housekeeping. return $ slugs ; }
Plugin slugs from basenames.

@since 160524 First documented version.

@param array $basenames Plugin basenames.

@return array Plugin slugs w/ basename keys.
Plugin slugs from basenames .