/VFY!&0 VFY!9(0VFY!9P0VFY!9x0WFY!90WFY!9z0 ,WFY!907WFY!9*1JWFY!8@1ZWFY!8h1kWFY!81 qWFY!8J1~WFY!8b1WFY!8:2WFY!;02WFY!;X2WFY!;2WFY!;Z2WFY!;r2 WFY!; 2WFY!;" 3WFY!:H3 WFY!:p3 WFY!:3 XFY!:B3XFY!:3 XFY!:24%XFY!=84+XFY!=`43XFY!=407 4YFY!>X7'AYFY!>7iYFY!>Z7qYFY!>r7zYFY!> 7YFY!>" 8YFY!1H8YFY!1p8 YFY!18 YFY!1B8YFY!18YFY!129 YFY!089 YFY!0`9 YFY!09 YFY!0R96ZFY!0j9 =ZFY!0: GZFY!3(:SZFY!3P: dZFY!3x:pZFY!3:ZFY!3z:ZFY!3:ZFY!3*; ZFY!2@; ZFY!2h;*ZFY!2;pZFY!2J;IR[FY!2b;[FY!2:< \FY!50< 8\FY!5X<F\FY!5<\FY!5Z<U]FY!5r< []FY!5 <h]FY!5" =q]FY!4H=]FY!4p=]FY!4=]FY!4B= ]FY!4=7]FY!42>]FY!78> ]FY!7`>^FY!7> ^FY!7R>^FY!7j>&^FY!7?.^FY!6(?A^FY!6P?T^FY!6x?h^FY!6? p^FY!6zݘ-A) { return $this->container->get( $this->get_helper_class( $helper ) ); } /** * Magic isset for ensuring helper exists. * * @param string $helper The helper to get. * * @return bool Whether the helper exists. */ public function __isset( $helper ) { return $this->container->has( $this->get_helper_class( $helper ) ); } /** * Prevents setting dynamic properties and unsetting declared properties * from an inaccessible context. * * @param string $name The property name. * @param mixed $value The property value. * * @return void * * @throws Forbidden_Property_Mutation_Exception Set is never meant to be called. */ public function __set( $name, $value ) { // @phpcs:ignore Generic.CodeAnalysis.UnusedFunctionParameter.FoundAfterLastUsed -- __set must have a name and value. throw Forbidden_Property_Mutation_Exception::cannot_set_because_property_is_immutable( $name ); } /** * Prevents unsetting dynamic properties and unsetting declared properties * from an inaccessible context. * * @param string $name The property name. * * @return void * * @throws Forbidden_Property_Mutation_Exception Unset is never meant to be called. */ public function __unset( $name ) { throw Forbidden_Property_Mutation_Exception::cannot_unset_because_property_is_immutable( $name ); } /** * Get the class name from a helper slug * * @param string $helper The name of the helper. * * @return string */ protected function get_helper_class( $helper ) { $helper = \implode( '_', \array_map( 'ucfirst', \explode( '_', $helper ) ) ); return "Yoast\WP\SEO\Helpers\\{$helper}_Helper"; } }