Initial commit
This commit is contained in:
15
app/Services/CustomSocialShare.php
Normal file
15
app/Services/CustomSocialShare.php
Normal file
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
namespace App\Services;
|
||||
|
||||
use Enflow\SocialShare\SocialShare;
|
||||
|
||||
class CustomSocialShare extends SocialShare
|
||||
{
|
||||
public function __call(string $service, array $parameters = []): self
|
||||
{
|
||||
$this->services->push(new CustomSocialShareService($this, $service, $parameters));
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user