Adding EntityInterface type hint to buildPlaceholder.
Separated entity rendering to a separate static method renderEntityFromContext().
Merge pull request #17 from cs-shadow/8.x-1.x

Fixed PHP strict warning.
Replace stristr() with strpos().