1 package Moose::Meta::Method::Accessor::Native::Array::get;
6 use Class::MOP::MiniTrait;
9 $VERSION = eval $VERSION;
10 our $AUTHORITY = 'cpan:STEVAN';
14 with 'Moose::Meta::Method::Accessor::Native::Reader' => {
19 _inline_check_arguments
23 'Moose::Meta::Method::Accessor::Native::Array';
25 sub _minimum_arguments { 1 }
27 sub _maximum_arguments { 1 }
29 sub _inline_check_arguments {
32 return $self->_inline_check_var_is_valid_index('$_[0]');
37 my $slot_access = shift;
39 return "${slot_access}->[ \$_[0] ]";