update
This commit is contained in:
12
wp-content/plugins/youtube-feed-pro/inc/Data/DataFactory.php
Normal file
12
wp-content/plugins/youtube-feed-pro/inc/Data/DataFactory.php
Normal file
@@ -0,0 +1,12 @@
|
||||
<?php
|
||||
|
||||
namespace SmashBalloon\YouTubeFeed\Data;
|
||||
|
||||
|
||||
use SmashBalloon\YouTubeFeed\Container;
|
||||
|
||||
class DataFactory {
|
||||
public function create($class) {
|
||||
return Container::get_instance()->get($class);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
<?php
|
||||
|
||||
namespace SmashBalloon\YouTubeFeed\Data;
|
||||
|
||||
class GoogleAPIResponseStruct {
|
||||
public $data;
|
||||
public $response;
|
||||
public $status;
|
||||
}
|
||||
Reference in New Issue
Block a user