Skip to content

Commit

Permalink
some phpdoc
Browse files Browse the repository at this point in the history
  • Loading branch information
ambroisemaupate committed Oct 17, 2018
1 parent 5bce917 commit cc29049
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions src/MixedFeed.php
@@ -1,6 +1,6 @@
<?php
/**
* Copyright © 2015, Ambroise Maupate
* Copyright © 2018, Ambroise Maupate
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down Expand Up @@ -29,24 +29,27 @@
use RZ\MixedFeed\MockObject\ErroredFeedItem;

/**
* Combine feed providers and sort them ante-chronological.
* Combine feed providers and sort them by date and time, descending or ascending.
*/
class MixedFeed extends AbstractFeedProvider
{
const ASC = 'ASC';
const DESC = 'DESC';

/**
* @var FeedProviderInterface[]
*/
protected $providers;

/**
* @var string
*/
protected $sortDirection;

/**
* Create a mixed feed composed of heterogeneous feed
* providers.
* Create a mixed feed composed of heterogeneous feed providers.
*
* @param array $providers
* @param FeedProviderInterface[] $providers
* @param string $sortDirection
*/
public function __construct(array $providers = [], $sortDirection = MixedFeed::DESC)
Expand Down

0 comments on commit cc29049

Please sign in to comment.