getType() public method

Get the type.
public getType ( mixed $model ) : string
$model mixed
return string
Exemplo n.º 1
0
 /**
  * Get the resource type.
  *
  * @return string
  */
 public function getType()
 {
     return $this->serializer->getType($this->data);
 }