for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Risan\OAuth1\Credentials;
abstract class Credentials implements CredentialsInterface
{
/**
* The credentials identifier.
*
* @var string
*/
protected $identifier;
* The credentials shared-secret.
protected $secret;
* Creaate the new Crendentials class instance.
* @param string $identifier
* @param string $secret
public function __construct($identifier, $secret)
$this->identifier = $identifier;
$this->secret = $secret;
}
* {@inheritdoc}
public function getIdentifier()
return $this->identifier;
public function getSecret()
return $this->secret;