Cheetah
GraphObjectFactory.php
Go to the documentation of this file.
1 <?php
24 namespace Facebook\GraphNodes;
25 
27 
37 {
41  const BASE_GRAPH_NODE_CLASS = '\Facebook\GraphNodes\GraphObject';
42 
46  const BASE_GRAPH_EDGE_CLASS = '\Facebook\GraphNodes\GraphList';
47 
57  public function makeGraphObject($subclassName = null)
58  {
59  return $this->makeGraphNode($subclassName);
60  }
61 
69  public function makeGraphEvent()
70  {
71  return $this->makeGraphNode(static::BASE_GRAPH_OBJECT_PREFIX . 'GraphEvent');
72  }
73 
84  public function makeGraphList($subclassName = null, $auto_prefix = true)
85  {
86  return $this->makeGraphEdge($subclassName, $auto_prefix);
87  }
88 }
Facebook\GraphNodes\GraphObjectFactory\BASE_GRAPH_NODE_CLASS
const BASE_GRAPH_NODE_CLASS
Definition: GraphObjectFactory.php:41
Facebook\Exceptions\FacebookSDKException
Definition: FacebookSDKException.php:32
use
GNU LESSER GENERAL PUBLIC LICENSE February Free Software Inc Franklin Fifth MA USA Everyone is permitted to copy and distribute verbatim copies of this license but changing it is not allowed[This is the first released version of the Lesser GPL. It also counts as the successor of the GNU Library Public License, version 2, hence the version number 2.1.] Preamble The licenses for most software are designed to take away your freedom to share and change it By the GNU General Public Licenses are intended to guarantee your freedom to share and change free software to make sure the software is free for all its users This the Lesser General Public applies to some specially designated software packages typically libraries of the Free Software Foundation and other authors who decide to use it You can use it but we suggest you first think carefully about whether this license or the ordinary General Public License is the better strategy to use in any particular based on the explanations below When we speak of free we are referring to freedom of use
Definition: license.txt:27
php
Facebook\GraphNodes\GraphObjectFactory\makeGraphList
makeGraphList($subclassName=null, $auto_prefix=true)
Definition: GraphObjectFactory.php:84
Facebook\GraphNodes\GraphObjectFactory\BASE_GRAPH_EDGE_CLASS
const BASE_GRAPH_EDGE_CLASS
Definition: GraphObjectFactory.php:46
Facebook\GraphNodes\GraphNodeFactory
Definition: GraphNodeFactory.php:44
Facebook\GraphNodes\GraphObjectFactory\makeGraphEvent
makeGraphEvent()
Definition: GraphObjectFactory.php:69
Facebook\GraphNodes\GraphNodeFactory\makeGraphNode
makeGraphNode($subclassName=null)
Definition: GraphNodeFactory.php:90
Facebook\GraphNodes\GraphNodeFactory\makeGraphEdge
makeGraphEdge($subclassName=null, $auto_prefix=true)
Definition: GraphNodeFactory.php:192
Facebook\GraphNodes\GraphObjectFactory
Definition: GraphObjectFactory.php:37
Facebook\GraphNodes
Definition: Birthday.php:24
Facebook\GraphNodes\GraphObjectFactory\makeGraphObject
makeGraphObject($subclassName=null)
Definition: GraphObjectFactory.php:57