mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-07-30 19:50:12 +02:00
removed superfluous Class comments
This commit is contained in:
@@ -2,9 +2,6 @@
|
||||
|
||||
namespace DesignPatterns\More\Delegation;
|
||||
|
||||
/**
|
||||
* Class JuniorDeveloper.
|
||||
*/
|
||||
class JuniorDeveloper
|
||||
{
|
||||
public function writeBadCode()
|
||||
|
@@ -2,9 +2,6 @@
|
||||
|
||||
namespace DesignPatterns\More\Delegation;
|
||||
|
||||
/**
|
||||
* Class TeamLead.
|
||||
*/
|
||||
class TeamLead
|
||||
{
|
||||
/** @var JuniorDeveloper */
|
||||
|
@@ -4,9 +4,6 @@ namespace DesignPatterns\More\EAV;
|
||||
|
||||
use SplObjectStorage;
|
||||
|
||||
/**
|
||||
* Class Attribute.
|
||||
*/
|
||||
class Attribute implements ValueAccessInterface
|
||||
{
|
||||
/**
|
||||
|
@@ -4,9 +4,6 @@ namespace DesignPatterns\More\EAV;
|
||||
|
||||
use SplObjectStorage;
|
||||
|
||||
/**
|
||||
* Class Entity.
|
||||
*/
|
||||
class Entity implements ValueAccessInterface
|
||||
{
|
||||
/**
|
||||
|
@@ -2,9 +2,6 @@
|
||||
|
||||
namespace DesignPatterns\More\EAV;
|
||||
|
||||
/**
|
||||
* Class Value.
|
||||
*/
|
||||
class Value implements ValueInterface
|
||||
{
|
||||
/**
|
||||
|
@@ -2,9 +2,6 @@
|
||||
|
||||
namespace DesignPatterns\More\Repository;
|
||||
|
||||
/**
|
||||
* Class MemoryStorage.
|
||||
*/
|
||||
class MemoryStorage implements Storage
|
||||
{
|
||||
private $data;
|
||||
|
@@ -2,11 +2,6 @@
|
||||
|
||||
namespace DesignPatterns\More\Repository;
|
||||
|
||||
/**
|
||||
* Post represents entity for some post that user left on the site.
|
||||
*
|
||||
* Class Post
|
||||
*/
|
||||
class Post
|
||||
{
|
||||
/**
|
||||
|
@@ -3,16 +3,13 @@
|
||||
namespace DesignPatterns\More\Repository;
|
||||
|
||||
/**
|
||||
* Repository for class Post
|
||||
* This class is between Entity layer(class Post) and access object layer(interface Storage).
|
||||
* This class is between Entity layer (class Post) and access object layer (interface Storage).
|
||||
*
|
||||
* Repository encapsulates the set of objects persisted in a data store and the operations performed over them
|
||||
* providing a more object-oriented view of the persistence layer
|
||||
*
|
||||
* Repository also supports the objective of achieving a clean separation and one-way dependency
|
||||
* between the domain and data mapping layers
|
||||
*
|
||||
* Class PostRepository
|
||||
*/
|
||||
class PostRepository
|
||||
{
|
||||
|
Reference in New Issue
Block a user