PluginProbe
WCPOS – Point of Sale (POS) plugin for WooCommerce / 1.10.21
WCPOS – Point of Sale (POS) plugin for WooCommerce v1.10.21
1.10.25 1.10.24 1.10.23 1.10.22 1.10.21 1.10.20 1.10.19 1.10.18 1.10.17 1.10.16 1.10.15 1.10.13 1.10.14 1.10.12 1.10.11 1.10.10 1.10.9 1.10.8 untagged-3d9b7ccddc54df87c672 1.10.7 1.10.6 1.10.5 1.10.3 1.10.4 1.10.2 All 169 releases
woocommerce-pos / vendor / symfony / polyfill-php80 / Resources / stubs / Attribute.php

Attribute.php in WCPOS – Point of Sale (POS) plugin for WooCommerce 1.10.21, at vendor/symfony/polyfill-php80/Resources/stubs/Attribute.php

32 lines 752 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 /*
4 * This file is part of the Symfony package.
5 *
6 * (c) Fabien Potencier <[email protected]>
7 *
8 * For the full copyright and license information, please view the LICENSE
9 * file that was distributed with this source code.
10 */
11
12 #[Attribute(Attribute::TARGET_CLASS)]
13 final class Attribute
14 {
15 public const TARGET_CLASS = 1;
16 public const TARGET_FUNCTION = 2;
17 public const TARGET_METHOD = 4;
18 public const TARGET_PROPERTY = 8;
19 public const TARGET_CLASS_CONSTANT = 16;
20 public const TARGET_PARAMETER = 32;
21 public const TARGET_ALL = 63;
22 public const IS_REPEATABLE = 64;
23
24 /** @var int */
25 public $flags;
26
27 public function __construct(int $flags = self::TARGET_ALL)
28 {
29 $this->flags = $flags;
30 }
31 }
32