Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions src/Utils/Annotation/Getter.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?php
namespace TheCodingMachine\TDBM\Utils\Annotation;

/**
* @Annotation
*/
final class Getter
{
/**
* The name of the getter
*
* @var string
*/
public $name;

/**
* If true, the getter will be "protected". Otherwise, getter is "public".
*
* @var bool
*/
public $hidden = false;
}
20 changes: 20 additions & 0 deletions src/Utils/Annotation/Interface_.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?php


namespace TheCodingMachine\TDBM\Utils\Annotation;

use Doctrine\Common\Annotations\Annotation\Required;

/**
* @Annotation
*/
final class Interface_
{
/**
* The fully qualified interface name this bean should implement.
*
* @Required()
* @string
*/
public $value;
}
22 changes: 22 additions & 0 deletions src/Utils/Annotation/Setter.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?php
namespace TheCodingMachine\TDBM\Utils\Annotation;

/**
* @Annotation
*/
final class Setter
{
/**
* The name of the setter
*
* @var string
*/
public $name;

/**
* If true, the setter will be "protected". Otherwise, setter is "public".
*
* @var bool
*/
public $hidden = false;
}