for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace EasyIM\TencentIM\Sns;
use EasyIM\Kernel\Exceptions\InvalidArgumentException;
/**
* Class Sns
*
* @package EasyIM\TencentIM\Sns
* @author longing <[email protected]>
*/
class Sns extends Client
{
* @param string $property
* @return mixed
* @throws InvalidArgumentException
public function __get(string $property)
if (isset($this->app["sns.{$property}"])) {
return $this->app["sns.{$property}"];
}
throw new InvalidArgumentException(sprintf('No Sns service named "%s".', $property));