name: AsAlias class_comment: null dependencies: [] properties: [] methods: - name: __construct visibility: public parameters: - name: id default: 'null' - name: public default: 'false' comment: '# * An attribute to tell under which alias a service should be registered or to use the implemented interface if no parameter is given. # * # * @author Alan Poulain # */ # #[\Attribute(\Attribute::TARGET_CLASS | \Attribute::IS_REPEATABLE)] # final class AsAlias # { # /** # * @param string|null $id The id of the alias # * @param bool $public Whether to declare the alias public' traits: [] interfaces: []