static function ( ContainerInterface $container ): string { $path = realpath( __FILE__ ); if ( false === $path ) { return ''; } return plugins_url( '/modules/ppcp-admin-notices/', dirname( $path, 3 ) . '/woocommerce-paypal-payments.php' ); }, 'admin-notices.renderer' => static function ( ContainerInterface $container ): RendererInterface { return new Renderer( $container->get( 'admin-notices.repository' ), $container->get( 'admin-notices.url' ), $container->get( 'ppcp.asset-version' ) ); }, 'admin-notices.repository' => static function ( ContainerInterface $container ): RepositoryInterface { return new Repository(); }, 'admin-notices.mute-message-endpoint' => static function ( ContainerInterface $container ): MuteMessageEndpoint { return new MuteMessageEndpoint( $container->get( 'button.request-data' ), $container->get( 'admin-notices.repository' ) ); }, );