-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix inheritance bug where property attributes werent inherited
* Fix bug, where @Property[<-read>|<-write>] tags were not inherited. * Remove support for providing accessors to private properties. * Remove support for private endpoints.
- Loading branch information
1 parent
295c166
commit fe5cce2
Showing
5 changed files
with
89 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
<?php | ||
|
||
/** | ||
* This file is part of the margusk/accessors package. | ||
* | ||
* @author Margus Kaidja <[email protected]> | ||
* @link https://github.com/marguskaidja/php-accessors | ||
* @license http://www.opensource.org/licenses/mit-license.php MIT (see the LICENSE file) | ||
*/ | ||
|
||
declare(strict_types=1); | ||
|
||
namespace margusk\Accessors\Tests; | ||
|
||
use margusk\Accessors\Accessible; | ||
use margusk\Accessors\Attr\Delete; | ||
use margusk\Accessors\Attr\Get; | ||
use margusk\Accessors\Attr\Set; | ||
|
||
use function htmlspecialchars; | ||
|
||
/** | ||
* @property string $parentProperty | ||
* | ||
* @method string getParentProperty() | ||
* @method self setParentProperty(string $value) | ||
*/ | ||
class ParentTestClassWithPropertyAttributes | ||
{ | ||
use Accessible; | ||
|
||
protected string $parentProperty; | ||
} |