Skip to content

Instantly share code, notes, and snippets.

@ricbra
Created May 26, 2015 08:35
Show Gist options
  • Save ricbra/32a23b0f503fbf3406f4 to your computer and use it in GitHub Desktop.
Save ricbra/32a23b0f503fbf3406f4 to your computer and use it in GitHub Desktop.
<?php
/*
* (c) Waarneembemiddeling.nl
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Wb\Pool\Model\Member;
use Wb\Pool\Model\Pool\PoolRepository;
class MemberIsNotBanned implements MemberSpecification
{
/**
* @var PoolRepository
*/
private $poolRepository;
public function __construct(PoolRepository $poolRepository)
{
$this->poolRepository = $poolRepository;
}
public function isSatisfiedBy(Member $member)
{
// We hebben hier ook de pool nodig waar tegen gematched moet worden. Deze kunnen we niet als
// extra param meesturen.
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment