Skip to content

Commit

Permalink
Reorganize traits
Browse files Browse the repository at this point in the history
  • Loading branch information
webeweb committed Jan 7, 2020
1 parent 3e2c409 commit 54ea28a
Show file tree
Hide file tree
Showing 139 changed files with 666 additions and 1,077 deletions.
4 changes: 2 additions & 2 deletions src/Model/AbstractCredit.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

namespace WBW\Library\XMLTV\Model;

use WBW\Library\XMLTV\Traits\ContentTrait;
use WBW\Library\Core\Model\Attribute\StringContentTrait;

/**
* Abstract credit.
Expand All @@ -22,5 +22,5 @@
*/
abstract class AbstractCredit extends AbstractModel {

use ContentTrait;
use StringContentTrait;
}
4 changes: 2 additions & 2 deletions src/Model/Aspect.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

namespace WBW\Library\XMLTV\Model;

use WBW\Library\XMLTV\Traits\ContentTrait;
use WBW\Library\Core\Model\Attribute\StringContentTrait;

/**
* Aspect.
Expand All @@ -21,5 +21,5 @@
*/
class Aspect extends AbstractModel {

use ContentTrait;
use StringContentTrait;
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,17 @@
* file that was distributed with this source code.
*/

namespace WBW\Library\XMLTV\Traits;
namespace WBW\Library\XMLTV\Model\Attribute;

use WBW\Library\XMLTV\Model\Actor;

/**
* Actors trait.
* Array actors trait.
*
* @author webeweb <https://github.com/webeweb/>
* @package WBW\Library\XMLTV\Traits
* @package WBW\Library\XMLTV\Model\Attribute
*/
trait ActorsTrait {
trait ArrayActorsTrait {

/**
* Actors.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,17 @@
* file that was distributed with this source code.
*/

namespace WBW\Library\XMLTV\Traits;
namespace WBW\Library\XMLTV\Model\Attribute;

use WBW\Library\XMLTV\Model\Adapter;

/**
* Adapters trait.
* Array adapters trait.
*
* @author webeweb <https://github.com/webeweb/>
* @package WBW\Library\XMLTV\Traits
* @package WBW\Library\XMLTV\Model\Attribute
*/
trait AdaptersTrait {
trait ArrayAdaptersTrait {

/**
* Adapters.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,17 @@
* file that was distributed with this source code.
*/

namespace WBW\Library\XMLTV\Traits;
namespace WBW\Library\XMLTV\Model\Attribute;

use WBW\Library\XMLTV\Model\Category;

/**
* Categories trait.
* Array categories trait.
*
* @author webeweb <https://github.com/webeweb/>
* @package WBW\Library\XMLTV\Traits
* @package WBW\Library\XMLTV\Model\Attribute
*/
trait CategoriesTrait {
trait ArrayCategoriesTrait {

/**
* Categories.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,17 @@
* file that was distributed with this source code.
*/

namespace WBW\Library\XMLTV\Traits;
namespace WBW\Library\XMLTV\Model\Attribute;

use WBW\Library\XMLTV\Model\Channel;

/**
* Channels trait.
* Array channels trait.
*
* @author webeweb <https://github.com/webeweb/>
* @package WBW\Library\XMLTV\Traits
* @package WBW\Library\XMLTV\Model\Attribute
*/
trait ChannelsTrait {
trait ArrayChannelsTrait {

/**
* Channels.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,17 @@
* file that was distributed with this source code.
*/

namespace WBW\Library\XMLTV\Traits;
namespace WBW\Library\XMLTV\Model\Attribute;

use WBW\Library\XMLTV\Model\Commentator;

/**
* Commentators trait.
* Array commentators trait.
*
* @author webeweb <https://github.com/webeweb/>
* @package WBW\Library\XMLTV\Traits
* @package WBW\Library\XMLTV\Model\Attribute
*/
trait CommentatorsTrait {
trait ArrayCommentatorsTrait {

/**
* Commentators.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,17 @@
* file that was distributed with this source code.
*/

namespace WBW\Library\XMLTV\Traits;
namespace WBW\Library\XMLTV\Model\Attribute;

use WBW\Library\XMLTV\Model\Composer;

/**
* Composers trait.
* Array composers trait.
*
* @author webeweb <https://github.com/webeweb/>
* @package WBW\Library\XMLTV\Traits
* @package WBW\Library\XMLTV\Model\Attribute
*/
trait ComposersTrait {
trait ArrayComposersTrait {

/**
* Composers.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,17 @@
* file that was distributed with this source code.
*/

namespace WBW\Library\XMLTV\Traits;
namespace WBW\Library\XMLTV\Model\Attribute;

use WBW\Library\XMLTV\Model\Country;

/**
* Countries trait.
* Array countries trait.
*
* @author webeweb <https://github.com/webeweb/>
* @package WBW\Library\XMLTV\Traits
* @package WBW\Library\XMLTV\Model\Attribute
*/
trait CountriesTrait {
trait ArrayCountriesTrait {

/**
* Countries.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,17 @@
* file that was distributed with this source code.
*/

namespace WBW\Library\XMLTV\Traits;
namespace WBW\Library\XMLTV\Model\Attribute;

use WBW\Library\XMLTV\Model\Desc;

/**
* Descriptions trait.
* Array descriptions trait.
*
* @author webeweb <https://github.com/webeweb/>
* @package WBW\Library\XMLTV\Traits
* @package WBW\Library\XMLTV\Model\Attribute
*/
trait DescsTrait {
trait ArrayDescsTrait {

/**
* Descriptions.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,17 @@
* file that was distributed with this source code.
*/

namespace WBW\Library\XMLTV\Traits;
namespace WBW\Library\XMLTV\Model\Attribute;

use WBW\Library\XMLTV\Model\Director;

/**
* Directors trait.
* Array directors trait.
*
* @author webeweb <https://github.com/webeweb/>
* @package WBW\Library\XMLTV\Traits
* @package WBW\Library\XMLTV\Model\Attribute
*/
trait DirectorsTrait {
trait ArrayDirectorsTrait {

/**
* Directors.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,17 @@
* file that was distributed with this source code.
*/

namespace WBW\Library\XMLTV\Traits;
namespace WBW\Library\XMLTV\Model\Attribute;

use WBW\Library\XMLTV\Model\DisplayName;

/**
* Display names trait.
* Array display names trait.
*
* @author webeweb <https://github.com/webeweb/>
* @package WBW\Library\XMLTV\Traits
* @package WBW\Library\XMLTV\Model\Attribute
*/
trait DisplayNamesTrait {
trait ArrayDisplayNamesTrait {

/**
* Display name.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,17 @@
* file that was distributed with this source code.
*/

namespace WBW\Library\XMLTV\Traits;
namespace WBW\Library\XMLTV\Model\Attribute;

use WBW\Library\XMLTV\Model\Editor;

/**
* Editors trait.
* Array editors trait.
*
* @author webeweb <https://github.com/webeweb/>
* @package WBW\Library\XMLTV\Traits
* @package WBW\Library\XMLTV\Model\Attribute
*/
trait EditorsTrait {
trait ArrayEditorsTrait {

/**
* Editors.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,17 @@
* file that was distributed with this source code.
*/

namespace WBW\Library\XMLTV\Traits;
namespace WBW\Library\XMLTV\Model\Attribute;

use WBW\Library\XMLTV\Model\EpisodeNum;

/**
* Episode numbers trait.
* Array episode numbers trait.
*
* @author webeweb <https://github.com/webeweb/>
* @package WBW\Library\XMLTV\Traits
* @package WBW\Library\XMLTV\Model\Attribute
*/
trait EpisodeNumsTrait {
trait ArrayEpisodeNumsTrait {

/**
* Episode numbers.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,17 @@
* file that was distributed with this source code.
*/

namespace WBW\Library\XMLTV\Traits;
namespace WBW\Library\XMLTV\Model\Attribute;

use WBW\Library\XMLTV\Model\Guest;

/**
* Guests trait.
* Array guests trait.
*
* @author webeweb <https://github.com/webeweb/>
* @package WBW\Library\XMLTV\Traits
* @package WBW\Library\XMLTV\Model\Attribute
*/
trait GuestsTrait {
trait ArrayGuestsTrait {

/**
* Guests.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,17 @@
* file that was distributed with this source code.
*/

namespace WBW\Library\XMLTV\Traits;
namespace WBW\Library\XMLTV\Model\Attribute;

use WBW\Library\XMLTV\Model\Icon;

/**
* Icons trait.
* Array icons trait.
*
* @author webeweb <https://github.com/webeweb/>
* @package WBW\Library\XMLTV\Traits
* @package WBW\Library\XMLTV\Model\Attribute
*/
trait IconsTrait {
trait ArrayIconsTrait {

/**
* Icons.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,17 @@
* file that was distributed with this source code.
*/

namespace WBW\Library\XMLTV\Traits;
namespace WBW\Library\XMLTV\Model\Attribute;

use WBW\Library\XMLTV\Model\Keyword;

/**
* Keywords trait.
* Array keywords trait.
*
* @author webeweb <https://github.com/webeweb/>
* @package WBW\Library\XMLTV\Traits
* @package WBW\Library\XMLTV\Model\Attribute
*/
trait KeywordsTrait {
trait ArrayKeywordsTrait {

/**
* Keywords.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,17 @@
* file that was distributed with this source code.
*/

namespace WBW\Library\XMLTV\Traits;
namespace WBW\Library\XMLTV\Model\Attribute;

use WBW\Library\XMLTV\Model\Presenter;

/**
* Presenters trait.
* Array presenters trait.
*
* @author webeweb <https://github.com/webeweb/>
* @package WBW\Library\XMLTV\Traits
* @package WBW\Library\XMLTV\Model\Attribute
*/
trait PresentersTrait {
trait ArrayPresentersTrait {

/**
* Presenters.
Expand Down
Loading

0 comments on commit 54ea28a

Please sign in to comment.