PHP Class spec\SocialShare\SocialShareSpec

Author: Kévin Dunglas ([email protected])
Inheritance: extends PhpSpec\ObjectBehavior
Exibir arquivo Open project: dunglas/php-socialshare

Public Methods

Method Description
it_delays_update ( $cache, SocialShare\Provider\ProviderInterface $provider )
it_gets_link ( SocialShare\Provider\ProviderInterface $provider )
it_gets_shares ( $cache, SocialShare\Provider\ProviderInterface $provider )
it_is_initializable ( )
it_registers_provider ( SocialShare\Provider\ProviderInterface $provider )
it_throws_error_when_provider_is_invalid ( )
let ( Doctrine\Common\Cache\Cache $cache )

Method Details

it_delays_update() public method

public it_delays_update ( $cache, SocialShare\Provider\ProviderInterface $provider )
$provider SocialShare\Provider\ProviderInterface

it_gets_shares() public method

public it_gets_shares ( $cache, SocialShare\Provider\ProviderInterface $provider )
$provider SocialShare\Provider\ProviderInterface

it_is_initializable() public method

public it_is_initializable ( )

it_registers_provider() public method

public it_registers_provider ( SocialShare\Provider\ProviderInterface $provider )
$provider SocialShare\Provider\ProviderInterface

it_throws_error_when_provider_is_invalid() public method

let() public method

public let ( Doctrine\Common\Cache\Cache $cache )
$cache Doctrine\Common\Cache\Cache