Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php type generic object

function getParticipant(): ?object
{
   //...
  $x = new Cat(); 
  return $x;
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #php #type #generic #object
ADD COMMENT
Topic
Name
8+5 =