---
name: "MooseX::Declare::Syntax::Extending"
section: "3pm"
platform: "linux"
package: "libmoosex-declare-perl"
version: "0.43-2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/MooseX::Declare::Syntax::Extending"
---

# MooseX::Declare::Syntax::Extending(3pm)

Extending with superclasses

## NAME

MooseX::Declare::Syntax::Extending - Extending with superclasses

## VERSION

version 0.43

## DESCRIPTION

Extends a class by a specified `"extends"` option.

## METHODS

### add\_extends\_option\_customizations

```
  Object->add_extends_option_customizations (
      Object   $ctx,
      Str      $package,
      ArrayRef $superclasses,
      HashRef  $options
  )
```

This will add a code part that will call `"extends"` with the `$superclasses` as arguments.

## CONSUMES

- •

  MooseX::Declare::Syntax::OptionHandling

## SEE ALSO

- •

  MooseX::Declare

- •

  MooseX::Declare::Syntax::Keyword::Class

- •

  MooseX::Declare::Syntax::OptionHandling

## AUTHOR

Florian Ragwitz \<rafl@debian.org\>

## COPYRIGHT AND LICENSE

This software is copyright (c) 2008 by Florian Ragwitz.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
