mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-07-31 04:00:18 +02:00
it was created the Behavioral namespace and append its patterns
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
namespace DesignPatterns\Specification;
|
||||
namespace DesignPatterns\Behavioral\Specification;
|
||||
|
||||
/**
|
||||
* An abstract specification allows the creation of wrapped specifications
|
||||
|
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
namespace DesignPatterns\Specification;
|
||||
namespace DesignPatterns\Behavioral\Specification;
|
||||
|
||||
/**
|
||||
* A logical OR specification
|
||||
|
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
namespace DesignPatterns\Specification;
|
||||
namespace DesignPatterns\Behavioral\Specification;
|
||||
|
||||
/**
|
||||
* An trivial item
|
||||
|
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
namespace DesignPatterns\Specification;
|
||||
namespace DesignPatterns\Behavioral\Specification;
|
||||
|
||||
/**
|
||||
* A logical Not specification
|
||||
|
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
namespace DesignPatterns\Specification;
|
||||
namespace DesignPatterns\Behavioral\Specification;
|
||||
|
||||
/**
|
||||
* A logical AND specification
|
||||
|
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
namespace DesignPatterns\Specification;
|
||||
namespace DesignPatterns\Behavioral\Specification;
|
||||
|
||||
/**
|
||||
* A specification to check an Item is priced between min and max
|
||||
|
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
namespace DesignPatterns\Specification;
|
||||
namespace DesignPatterns\Behavioral\Specification;
|
||||
|
||||
/**
|
||||
* An interface for a specification
|
||||
|
@@ -1,9 +1,9 @@
|
||||
<?php
|
||||
|
||||
namespace DesignPatterns\Tests\Specification;
|
||||
namespace DesignPatterns\Behavioral\Specification;
|
||||
|
||||
use DesignPatterns\Specification\PriceSpecification;
|
||||
use DesignPatterns\Specification\Item;
|
||||
use DesignPatterns\Behavioral\Specification\PriceSpecification;
|
||||
use DesignPatterns\Behavioral\Specification\Item;
|
||||
|
||||
/**
|
||||
* SpecificationTest tests the specification pattern
|
Reference in New Issue
Block a user