Skip to content

Commit 5a2bbc1

Browse files
committed
ADD NamespaceVisibility attribute
1 parent dbc62ca commit 5a2bbc1

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

src/NamespaceVisibility.php

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<?php
2+
3+
declare(strict_types=1);
4+
5+
namespace DaveLiddament\PhpLanguageExtensions;
6+
7+
use Attribute;
8+
9+
#[Attribute(Attribute::TARGET_CLASS | Attribute::TARGET_METHOD)]
10+
final class NamespaceVisibility
11+
{
12+
public function __construct(
13+
?string $namespace = null,
14+
bool $excludeSubNamespaces = false,
15+
) {
16+
}
17+
}

0 commit comments

Comments
 (0)